mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-48239 grades: fix notification class
This commit is contained in:
parent
3f8a714f36
commit
f677ece516
@ -634,7 +634,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
|
||||
$reverturl = new moodle_url($thispage, $urlparams);
|
||||
$revertbutton = $OUTPUT->single_button($reverturl, $revertmessage, 'get');
|
||||
|
||||
$html .= $OUTPUT->notification($message, 'notifywarning');
|
||||
$html .= $OUTPUT->notification($message);
|
||||
$html .= $revertbutton . $hideminmaxbutton;
|
||||
|
||||
} else if ($minmaxtouse == GRADE_MIN_MAX_FROM_GRADE_GRADE) {
|
||||
@ -648,7 +648,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
|
||||
$fixurl = new moodle_url($thispage, $urlparams);
|
||||
$fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get');
|
||||
|
||||
$html .= $OUTPUT->notification($message, 'notifywarning');
|
||||
$html .= $OUTPUT->notification($message);
|
||||
$html .= $fixbutton . $hideminmaxbutton;
|
||||
}
|
||||
}
|
||||
@ -681,7 +681,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
|
||||
$fixurl = new moodle_url($thispage, $urlparams);
|
||||
$fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get');
|
||||
|
||||
$html .= $OUTPUT->notification($message, 'notifywarning');
|
||||
$html .= $OUTPUT->notification($message);
|
||||
$html .= $fixbutton;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user