Merge branch 'MDL-36929_new_discussions' of https://github.com/andyjdavis/moodle

This commit is contained in:
Sam Hemelryk 2014-09-29 14:21:39 +13:00
commit b87711a0dc

View File

@ -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) . "\" ".