Changed icon for downloading certificate from reports

This was done because the core 'import' icon was mapped
to the Font Awesome icon 'fa-level-up' which did not look
appropriate.
This commit is contained in:
Mark Nelson 2018-05-21 21:34:53 +08:00
parent 3620b5543d
commit f0b8292779
5 changed files with 14 additions and 2 deletions

View file

@ -136,7 +136,7 @@ class my_certificates_table extends \table_sql {
public function col_download($certificate) {
global $OUTPUT;
$icon = new \pix_icon('i/import', get_string('download'));
$icon = new \pix_icon('download', get_string('download'), 'customcert');
$link = new \moodle_url('/mod/customcert/my_certificates.php',
array('userid' => $this->userid,
'certificateid' => $certificate->id,