mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-78715' of https://github.com/paulholden/moodle
This commit is contained in:
commit
ec4c6aa486
@ -60,6 +60,7 @@ foreach ($accounts as $account) {
|
||||
|
||||
$menu = new action_menu();
|
||||
$menu->set_menu_trigger(get_string('edit'));
|
||||
$menu->set_boundary('window');
|
||||
if ($canmanage) {
|
||||
$menu->add(new action_menu_link_secondary($account->get_edit_url(), null, get_string('edit')));
|
||||
if (!$account->get('archived')) {
|
||||
@ -85,7 +86,7 @@ if (has_capability('moodle/site:config', context_system::instance())) {
|
||||
echo html_writer::div($text, 'pb-2');
|
||||
}
|
||||
|
||||
echo html_writer::table($table);
|
||||
echo html_writer::div(html_writer::table($table), 'position-relative');
|
||||
|
||||
$PAGE->requires->event_handler('[data-action=delete]', 'click', 'M.util.show_confirm_dialog',
|
||||
array('message' => get_string('accountdeleteconfirm', 'payment')));
|
||||
|
Loading…
x
Reference in New Issue
Block a user