aboutsummaryrefslogtreecommitdiffstats
path: root/client/templates
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-31 10:45:56 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-31 10:45:56 +0200
commit0d24c3ca2c4810b5000e511900ad603d8b264205 (patch)
tree72d6529b616bd00ff6f61863d0fc2de11ab6f66d /client/templates
parentperm staff for non primary group (diff)
downloadscout-subs-0d24c3ca2c4810b5000e511900ad603d8b264205.tar.gz
scout-subs-0d24c3ca2c4810b5000e511900ad603d8b264205.zip
self delete of medical data
Diffstat (limited to 'client/templates')
-rw-r--r--client/templates/client/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/templates/client/index.html b/client/templates/client/index.html
index fd8316b..1915792 100644
--- a/client/templates/client/index.html
+++ b/client/templates/client/index.html
@@ -155,8 +155,13 @@
{% if doc.0.document_type.medical_data %}
<li>
<div class="collapsible-header">
- <i class="material-icons">healing</i>Dati medici
+ {% if doc.0.medical_data %}
+ <i class="material-icons">healing</i>Dati medici
+ {% else %}
+ <i class="material-icons">healing</i><del>Dati medici</del>
+ {% endif %}
</div>
+ {% if doc.0.medical_data %}
<div class="collapsible-body"><span>
<div class="row">
<div class="col s12">
@@ -279,6 +284,7 @@
<label for="misc">Se s&igrave; quali</label>
</div>
</span></div>
+ {% endif %}
</li>
{% endif %}
{% if doc.0.document_type.custom_data %}