mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-75031 output: swap order of buttons in confirmation prompts.
As per ff6e5cc7, the primary button "Continue" should be displayed on the right hand site of the confirmation prompt.
This commit is contained in:
parent
4ce642e8ba
commit
a65549d0b3
@ -2088,7 +2088,7 @@ class core_renderer extends renderer_base {
|
||||
$output .= html_writer::tag('p', $message);
|
||||
$output .= $this->box_end();
|
||||
$output .= $this->box_start('modal-footer', 'modal-footer');
|
||||
$output .= html_writer::tag('div', $this->render($continue) . $this->render($cancel), array('class' => 'buttons'));
|
||||
$output .= html_writer::tag('div', $this->render($cancel) . $this->render($continue), ['class' => 'buttons']);
|
||||
$output .= $this->box_end();
|
||||
$output .= $this->box_end();
|
||||
$output .= $this->box_end();
|
||||
@ -5569,7 +5569,7 @@ class core_renderer_maintenance extends core_renderer {
|
||||
$output = $this->box_start('generalbox', 'notice');
|
||||
$output .= html_writer::tag('h4', get_string('confirm'));
|
||||
$output .= html_writer::tag('p', $message);
|
||||
$output .= html_writer::tag('div', $this->render($continue) . $this->render($cancel), array('class' => 'buttons'));
|
||||
$output .= html_writer::tag('div', $this->render($cancel) . $this->render($continue), ['class' => 'buttons']);
|
||||
$output .= $this->box_end();
|
||||
return $output;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user