Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
0c896009
Commit
0c896009
authored
Jul 02, 2015
by
Marina Glancy
Committed by
David Monllaó
Jul 02, 2015
Browse files
MDL-48239 grades: fix notification class
parent
801964ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
grade/lib.php
View file @
0c896009
...
...
@@ -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
)
{
...
...
@@ -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
;
}
}
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment