mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-44733 add disabled class rows with disabled scheduled tasks
This commit is contained in:
parent
0a5aa65b53
commit
246230715e
@ -103,6 +103,9 @@ class tool_task_renderer extends plugin_renderer_base {
|
||||
new html_table_cell($task->get_fail_delay()),
|
||||
new html_table_cell($customised)));
|
||||
|
||||
if ($task->get_disabled()) {
|
||||
$row->attributes['class'] = 'disabled';
|
||||
}
|
||||
$data[] = $row;
|
||||
}
|
||||
$table->data = $data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user