mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-43362 outputrenderers: Add bootstrap classes to errorbox.
This commit is contained in:
parent
1287039e62
commit
9d492637ec
@ -139,7 +139,7 @@ class tool_behat_renderer extends plugin_renderer_base {
|
||||
$msg = get_string('wrongbehatsetup', 'tool_behat', $a);
|
||||
|
||||
// Error box including generic error string + specific error msg.
|
||||
$html .= $this->output->box_start('box errorbox');
|
||||
$html .= $this->output->box_start('box errorbox alert alert-danger');
|
||||
$html .= html_writer::tag('div', $msg);
|
||||
$html .= $this->output->box_end();
|
||||
|
||||
|
@ -2797,7 +2797,7 @@ EOD;
|
||||
$message .= '<p class="errormessage">' . get_string('installproblem', 'error') . '</p>';
|
||||
//It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix for new installation.
|
||||
}
|
||||
$output .= $this->box($message, 'errorbox', null, array('data-rel' => 'fatalerror'));
|
||||
$output .= $this->box($message, 'errorbox alert alert-danger', null, array('data-rel' => 'fatalerror'));
|
||||
|
||||
if ($CFG->debugdeveloper) {
|
||||
if (!empty($debuginfo)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user