mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-44323 admin: use correct css class for warning
The notifyproblem notification is consistent with the rest of the warnings we report.
This commit is contained in:
parent
c1ed254643
commit
376a17e4ae
@ -176,7 +176,7 @@ if ($roleid) {
|
||||
// Show UI for assigning a particular role to users.
|
||||
// Print a warning if we are assigning system roles.
|
||||
if ($context->contextlevel == CONTEXT_SYSTEM) {
|
||||
echo $OUTPUT->box(get_string('globalroleswarning', 'core_role'));
|
||||
echo $OUTPUT->notification(get_string('globalroleswarning', 'core_role'));
|
||||
}
|
||||
|
||||
// Print the form.
|
||||
@ -251,7 +251,7 @@ if ($roleid) {
|
||||
|
||||
// Print a warning if we are assigning system roles.
|
||||
if ($context->contextlevel == CONTEXT_SYSTEM) {
|
||||
echo $OUTPUT->box(get_string('globalroleswarning', 'core_role'));
|
||||
echo $OUTPUT->notification(get_string('globalroleswarning', 'core_role'));
|
||||
}
|
||||
|
||||
// Print instruction.
|
||||
|
@ -747,12 +747,6 @@ img.iconsmall {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
// Hacks for badly marked up admin warnings.
|
||||
#page-admin-roles-assign div.box.generalbox {
|
||||
.alert;
|
||||
.alert-danger;
|
||||
}
|
||||
|
||||
.maintenancewarning {
|
||||
padding: 3px 1em;
|
||||
text-align: center;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user