mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Merge branch 'MDL-45679' of git://github.com/jmvedrine/moodle
This commit is contained in:
commit
9478d117fc
@ -356,11 +356,11 @@ switch ($mode) {
|
||||
$attributes = array();
|
||||
// Different colors for all the states of an essay (graded, if sent, not graded)
|
||||
if (!$essayinfo->graded) {
|
||||
$attributes['class'] = "graded";
|
||||
$attributes['class'] = "essayungraded";
|
||||
} elseif (!$essayinfo->sent) {
|
||||
$attributes['class'] = "sent";
|
||||
$attributes['class'] = "essaygraded";
|
||||
} else {
|
||||
$attributes['class'] = "ungraded";
|
||||
$attributes['class'] = "essaysent";
|
||||
}
|
||||
$essaylinks[] = html_writer::link($url, userdate($essay->timeseen, get_string('strftimedatetime')).' '.format_string($pages[$essay->pageid]->title,true), $attributes);
|
||||
}
|
||||
|
@ -83,3 +83,15 @@
|
||||
#lesson-timer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-mod-lesson a:link.essayungraded{
|
||||
background-color: #efcfcf;
|
||||
}
|
||||
|
||||
.path-mod-lesson a:link.essaygraded {
|
||||
background-color: #efefcf;
|
||||
}
|
||||
|
||||
.path-mod-lesson a:link.essaysent {
|
||||
background-color: #cfefcf;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user