mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-44323 admin: use correct css class for warning
The notifyproblem notification is consistent with the rest of the warnings we report. Conflicts: theme/bootstrapbase/less/moodle/admin.less theme/bootstrapbase/style/moodle.css
This commit is contained in:
parent
92ac518fdc
commit
247946725c
3 changed files with 3 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -758,9 +758,3 @@ img.iconsmall {
|
|||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
// Hacks for badly marked up admin warnings.
|
||||
#page-admin-roles-assign div.box.generalbox {
|
||||
.alert;
|
||||
.alert-danger;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue