mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-36929_new_discussions' of https://github.com/andyjdavis/moodle
This commit is contained in:
commit
b87711a0dc
@ -5820,7 +5820,13 @@ function forum_print_recent_mod_activity($activity, $courseid, $detail, $modname
|
||||
echo $OUTPUT->user_picture($activity->user, array('courseid'=>$courseid));
|
||||
echo "</td><td class=\"$class\">";
|
||||
|
||||
echo '<div class="title">';
|
||||
if ($activity->content->parent) {
|
||||
$class = 'title';
|
||||
} else {
|
||||
// Bold the title of new discussions so they stand out.
|
||||
$class = 'title bold';
|
||||
}
|
||||
echo "<div class=\"{$class}\">";
|
||||
if ($detail) {
|
||||
$aname = s($activity->name);
|
||||
echo "<img src=\"" . $OUTPUT->pix_url('icon', $activity->type) . "\" ".
|
||||
|
Loading…
x
Reference in New Issue
Block a user