aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-11-12 18:42:44 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-11-12 18:42:44 -0500
commit425bbdb24d68ec4c1ed83c51f7b08de32ab50bd0 (patch)
tree0b9aaefea81cb761da7f9744f78d1e648051f65d /templates
parent92cb8cbe8d516d6b14d38ff45a1781ff1d90663c (diff)
downloadfamille-flask-425bbdb24d68ec4c1ed83c51f7b08de32ab50bd0.tar.gz
do not show kadoscope for papa et maman
Diffstat (limited to 'templates')
-rw-r--r--templates/user/edit.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/edit.html b/templates/user/edit.html
index ce2c95f..fb6296a 100644
--- a/templates/user/edit.html
+++ b/templates/user/edit.html
@@ -1,10 +1,12 @@
{% extends 'layout.html' %}
{% block content %}
+{% if user.user_name not in ["Maman","Papa"] %}
<h2>Kadoscope</h2>
<p>Cliquer sur le cadeau ci-dessous pour découvrir le nom de l'heureux élu qui recevra un cadeau de votre part.</p>
<p class="kadoscope">{{user.kado}}</p>
<p id="kadobutton"></p>
+{% endif %}
<h2>Paramètres du Compte</h2>
<form method="post" action="{{url_for('edit_user')}}" class="userform">
<fieldset>