diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-07-12 11:30:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 11:30:35 +0300 |
commit | c79bec8155e06515ea2c31d46b9683e03945bf81 (patch) | |
tree | 0a46e68a9efba9b45b1b04fc67399fe3babcbef1 /plugins/UsersManager/templates/index.twig | |
parent | 33a1a5666c8f65a9968e3ce47ec6d25ae1daa3e6 (diff) |
Show confirmation before giving view access to anonymous user (#11744)
* Show confirmation before giving view access to anonymous user
* Remove unneeded usage of raw template filter
Diffstat (limited to 'plugins/UsersManager/templates/index.twig')
-rw-r--r-- | plugins/UsersManager/templates/index.twig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/UsersManager/templates/index.twig b/plugins/UsersManager/templates/index.twig index cad99a0436..902b95e24d 100644 --- a/plugins/UsersManager/templates/index.twig +++ b/plugins/UsersManager/templates/index.twig @@ -162,6 +162,12 @@ <input role="no" type="button" value="{{ 'General_No'|translate }}"/> </div> +<div class="ui-confirm" id="confirmAnonymousAccess"> + <h2>{{ 'UsersManager_AnonymousAccessConfirmation'|translate }}</h2> + <input role="yes" type="button" value="{{ 'General_Yes'|translate }}"/> + <input role="no" type="button" value="{{ 'General_No'|translate }}"/> +</div> + {% if userIsSuperUser %} <div piwik-content-block content-title="{{ 'UsersManager_UsersManagement'|translate|e('html_attr') }}"> <div class="ui-confirm" id="confirmUserRemove"> |