Merge branch 'MDL-72990-310' of https://github.com/rezaies/moodle into MOODLE_310_STABLE
This commit is contained in:
+1
-1
@@ -337,7 +337,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'])),
|
||||
|
||||
Reference in New Issue
Block a user