mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
MDL-41648 grade: Remove 'error' parameter in grading notification divs
This commit is contained in:
parent
fba7a51461
commit
4d2eab6932
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ class moodlequickform_guideeditor extends HTML_QuickForm_input {
|
||||||
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
|
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
|
||||||
}
|
}
|
||||||
if ($this->validationerrors) {
|
if ($this->validationerrors) {
|
||||||
$html .= $renderer->notification($this->validationerrors, 'error');
|
$html .= $renderer->notification($this->validationerrors);
|
||||||
}
|
}
|
||||||
$html .= $renderer->display_guide($data['criteria'], $data['comments'], $data['options'], $mode, $this->getName());
|
$html .= $renderer->display_guide($data['criteria'], $data['comments'], $data['options'], $mode, $this->getName());
|
||||||
return $html;
|
return $html;
|
||||||
|
|
|
@ -138,7 +138,7 @@ class MoodleQuickForm_rubriceditor extends HTML_QuickForm_input {
|
||||||
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
|
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
|
||||||
}
|
}
|
||||||
if ($this->validationerrors) {
|
if ($this->validationerrors) {
|
||||||
$html .= $renderer->notification($this->validationerrors, 'error');
|
$html .= $renderer->notification($this->validationerrors);
|
||||||
}
|
}
|
||||||
$html .= $renderer->display_rubric($data['criteria'], $data['options'], $mode, $this->getName());
|
$html .= $renderer->display_rubric($data['criteria'], $data['options'], $mode, $this->getName());
|
||||||
return $html;
|
return $html;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue