mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-44733 add disabled class rows with disabled scheduled tasks
This commit is contained in:
parent
0a5aa65b53
commit
246230715e
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ class tool_task_renderer extends plugin_renderer_base {
|
||||||
new html_table_cell($task->get_fail_delay()),
|
new html_table_cell($task->get_fail_delay()),
|
||||||
new html_table_cell($customised)));
|
new html_table_cell($customised)));
|
||||||
|
|
||||||
|
if ($task->get_disabled()) {
|
||||||
|
$row->attributes['class'] = 'disabled';
|
||||||
|
}
|
||||||
$data[] = $row;
|
$data[] = $row;
|
||||||
}
|
}
|
||||||
$table->data = $data;
|
$table->data = $data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue