mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-83537' of https://github.com/paulholden/moodle
This commit is contained in:
commit
fb2a5bb129
@ -11800,7 +11800,9 @@ class admin_setting_check extends admin_setting {
|
||||
$output = $OUTPUT->notification($loadingicon . $loadingstr, \core\output\notification::NOTIFY_INFO, false);
|
||||
|
||||
// Add the action link.
|
||||
$output .= $OUTPUT->render($this->check->get_action_link());
|
||||
if ($actionlink = $this->check->get_action_link()) {
|
||||
$output .= $OUTPUT->render($actionlink);
|
||||
}
|
||||
|
||||
// Wrap in a div with a reference. The JS getAndRender will replace this with the response from the webservice.
|
||||
$statusdiv = \html_writer::div($output, '', ['data-check-reference' => $domref]);
|
||||
|
@ -1338,7 +1338,9 @@ class core_renderer extends renderer_base {
|
||||
}
|
||||
|
||||
// Add the action link.
|
||||
$renderedresult .= $this->render_action_link($check->get_action_link());
|
||||
if ($actionlink = $check->get_action_link()) {
|
||||
$renderedresult .= $this->render_action_link($actionlink);
|
||||
}
|
||||
|
||||
return $renderedresult;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user