Permalink
Browse files

MDL-41644 Backup: Update CSS class .notifywarning with .notifyproblem

  • Loading branch information...
1 parent 4f6e4f8 commit 3a98e73a54a06c6227526a910bfa51f1cbe7eb45 @apsdehal apsdehal committed Feb 1, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 backup/import.php
  2. +1 −1 backup/util/ui/renderer.php
View
@@ -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);
@@ -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');

0 comments on commit 3a98e73

Please sign in to comment.