From 8358dc6ef146b6e073847050645d560bf485953a Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Mon, 19 Aug 2019 13:16:45 +0200 Subject: [PATCH] gdpr fixes Signed-off-by: Janos SUTO --- .../theme/default/templates/audit/removal.tpl | 5 ++-- .../default/templates/common/layout-audit.tpl | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/webui/view/theme/default/templates/audit/removal.tpl b/webui/view/theme/default/templates/audit/removal.tpl index 1acab2ce..fd630be6 100644 --- a/webui/view/theme/default/templates/audit/removal.tpl +++ b/webui/view/theme/default/templates/audit/removal.tpl @@ -41,8 +41,9 @@ -   -   +   +   + diff --git a/webui/view/theme/default/templates/common/layout-audit.tpl b/webui/view/theme/default/templates/common/layout-audit.tpl index 0471d4cb..ba61d60a 100644 --- a/webui/view/theme/default/templates/common/layout-audit.tpl +++ b/webui/view/theme/default/templates/common/layout-audit.tpl @@ -41,6 +41,25 @@
+ + +
@@ -100,6 +119,14 @@ $(document).ready(function(){ split.init(); }); + + $('#exampleModal').on('show.bs.modal', function (event) { + var button = $(event.relatedTarget) // Button that triggered the modal + var id = button.data('id') + $('#delete-id').attr('href', 'index.php?route=message/remove&id=' + id + '&confirmed=1') + $('#id1').text(id) + var modal = $(this) + })