aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2021-07-23 17:34:07 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2021-07-23 17:34:35 +0200
commit1cc9fbd3bf0652439dc6722a810543c065ce223b (patch)
tree092a7abd89ab8182273802e6521a485d93dfd3cd /client
parentusers of group capi can optionally view documents (diff)
downloadscout-subs-1cc9fbd3bf0652439dc6722a810543c065ce223b.tar.gz
scout-subs-1cc9fbd3bf0652439dc6722a810543c065ce223b.zip
add notification if user of group capi views document
Diffstat (limited to '')
-rw-r--r--client/templates/client/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/templates/client/index.html b/client/templates/client/index.html
index 932af1c..7d001ec 100644
--- a/client/templates/client/index.html
+++ b/client/templates/client/index.html
@@ -17,6 +17,18 @@
{% if user.is_authenticated %}
{% if user.is_staff or perms.client.approved %}
+ <div id="modal_capi" class="modal">
+ <div class="modal-content">
+ <h4>Attenzione</h4>
+ <p>Il tuo capo branca verrĂ  notificato dell'accesso alla pagina dei documenti.<br>
+ Sei sicuro di voler continuare?
+ </p>
+ </div>
+ <div class="modal-footer">
+ <a style="color:red" href="#!" class="modal-close waves-effect waves-green btn-flat">Annulla</a>
+ <a href="{% url 'doclistro' %}" class="modal-close waves-effect waves-green btn-flat">Continua</a>
+ </div>
+ </div>
{% if not empty %}
<ul class="collapsible">
{% for doc in docs %}