Skip to content

Commit

Permalink
MDL-48239 grades: fix notification class
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and David Monllao committed Jul 2, 2015
1 parent 3f8a714 commit f677ece
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
$reverturl = new moodle_url($thispage, $urlparams);
$revertbutton = $OUTPUT->single_button($reverturl, $revertmessage, 'get');

$html .= $OUTPUT->notification($message, 'notifywarning');
$html .= $OUTPUT->notification($message);
$html .= $revertbutton . $hideminmaxbutton;

} else if ($minmaxtouse == GRADE_MIN_MAX_FROM_GRADE_GRADE) {
Expand All @@ -648,7 +648,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
$fixurl = new moodle_url($thispage, $urlparams);
$fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get');

$html .= $OUTPUT->notification($message, 'notifywarning');
$html .= $OUTPUT->notification($message);
$html .= $fixbutton . $hideminmaxbutton;
}
}
Expand Down Expand Up @@ -681,7 +681,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage
$fixurl = new moodle_url($thispage, $urlparams);
$fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get');

$html .= $OUTPUT->notification($message, 'notifywarning');
$html .= $OUTPUT->notification($message);
$html .= $fixbutton;
}
}
Expand Down

0 comments on commit f677ece

Please sign in to comment.