Skip to content

Commit

Permalink
MDL-41644 Backup: Update CSS class .notifywarning with .notifyproblem
Browse files Browse the repository at this point in the history
  • Loading branch information
apsdehal committed Feb 1, 2014
1 parent 4f6e4f8 commit 3a98e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backup/import.php
Expand Up @@ -176,7 +176,7 @@
// Display a notification and a continue button
if ($warnings) {
echo $OUTPUT->box_start();
echo $OUTPUT->notification(get_string('warning'), 'notifywarning');
echo $OUTPUT->notification(get_string('warning'), 'notifyproblem');
echo html_writer::start_tag('ul', array('class'=>'list'));
foreach ($warnings as $warning) {
echo html_writer::tag('li', $warning);
Expand Down
2 changes: 1 addition & 1 deletion backup/util/ui/renderer.php
Expand Up @@ -410,7 +410,7 @@ public function precheck_notices($results) {
}
if (array_key_exists('warnings', $results)) {
foreach ($results['warnings'] as $warning) {
$output .= $this->output->notification($warning, 'notifywarning notifyproblem');
$output .= $this->output->notification($warning, 'notifyproblem');
}
}
return $output.html_writer::end_tag('div');
Expand Down

0 comments on commit 3a98e73

Please sign in to comment.