mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue