We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12e3159 commit 4437a97Copy full SHA for 4437a97
delayedcourses.php
@@ -182,6 +182,9 @@
182
$button = new single_button(new moodle_url('confirmation.php'),
183
get_string('delete_all_delays', 'tool_lifecycle'));
184
echo $OUTPUT->render($button);
185
+ $classnotnull = 'badge badge-primary badge-pill ml-1';
186
+ $classnull = 'badge badge-secondary badge-pill ml-1';
187
+ echo \html_writer::span($delayedcourses, $delayedcourses > 0 ? $classnotnull : $classnull);
188
echo html_writer::div('', 'mb-2');
189
}
190
0 commit comments