From 45ae587cb1a62ecbedeedca9ea22cef6048959f1 Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Wed, 10 Jan 2018 04:32:37 +0800 Subject: [PATCH] Use username in delete confirmation dialog for user --- templates/user/list.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/user/list.html.twig b/templates/user/list.html.twig index 8c29d180..5f1c0d10 100644 --- a/templates/user/list.html.twig +++ b/templates/user/list.html.twig @@ -122,10 +122,10 @@ sortable: false, overflow: 'visible', template: function (row, index, datatable) { - var actions = ''; + var actions = ''; if (row.id != 'ROLE_SUPER_ADMIN') { - actions += ''; + actions += ''; } return actions; @@ -150,7 +150,7 @@ swal({ title: 'Confirmation', - text: 'Are you sure you want to delete ' + id + '?', + html: 'Are you sure you want to delete ' + id + '?', type: 'warning', showCancelButton: true }).then((result) => {