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:
Dan Poltawski 2014-05-13 16:02:10 +08:00
parent 92ac518fdc
commit 247946725c
3 changed files with 3 additions and 9 deletions

View file

@ -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.

View file

@ -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