Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5, 2.6.6, 2.7.3, 2.9.4
-
Component/s: Assignment, Grading methods, HTML and CSS
-
Testing Instructions:
-
Difficulty:Easy
-
Affected Branches:MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_29_STABLE, MOODLE_30_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-41648 -
Pull Master Diff URL:
Description
grade/grading/form/guide/guideeditor.php
129: $html .= $renderer->notification($this->validationerrors, 'error');
grade/grading/form/rubric/rubriceditor.php
133: $html .= $renderer->notification($this->validationerrors, 'error');
mod/assignment/lib.php
1160: echo $OUTPUT->notification($advancedgradingwarning, 'error');
The three lines above use 'error' as a class on a notification.
This will (coincidentally?) turn the text of the notification red in Standard theme, but not in Base theme or other themes that derive from it.
Usually 'notifyproblem' is used for this purpose instead and will also turn the text red in Base theme and those that derive from it, including Standard.