mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-72990-311' of https://github.com/rezaies/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
d905332e97
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class core_badges_renderer extends plugin_renderer_base {
|
|||
$output = '';
|
||||
$output .= html_writer::start_tag('div', array('id' => 'badge'));
|
||||
$output .= html_writer::start_tag('div', array('id' => 'badge-image'));
|
||||
$output .= html_writer::empty_tag('img', array('src' => $badgeimage, 'alt' => $badge->name, 'width' => '100'));
|
||||
$output .= html_writer::empty_tag('img', array('src' => $badgeimage, 'alt' => $badge->imagecaption, 'width' => '100'));
|
||||
if ($expiration < $now) {
|
||||
$output .= $this->output->pix_icon('i/expired',
|
||||
get_string('expireddate', 'badges', userdate($issued['expires'])),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue