mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Fixed bug 5271 - icon tag missing in Upcoming Events block
This commit is contained in:
parent
36e6706eb0
commit
ea21c1f460
@ -854,7 +854,7 @@ function calendar_get_sideblock_upcoming($events, $linkhref = NULL) {
|
||||
continue;
|
||||
}
|
||||
$events[$i] = calendar_add_event_metadata($events[$i]);
|
||||
$content .= '<div class="event">'.$events[$i]->icon.' ';
|
||||
$content .= '<div class="event"><span class="icon c0">'.$events[$i]->icon.'</span> ';
|
||||
if (!empty($events[$i]->referer)) {
|
||||
// That's an activity event, so let's provide the hyperlink
|
||||
$content .= $events[$i]->referer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user