]> rtime.felk.cvut.cz Git - coffee/coffee-flask.git/blobdiff - templates/user.html
Separate counting of coffees and club-mate
[coffee/coffee-flask.git] / templates / user.html
index 7e549b91f0197610a7fc7f2586bd064d287e8143..2cc3dec4b7c50a4cbbe3e1aeed35b9051420ff3c 100644 (file)
@@ -7,8 +7,8 @@
 
     <p id="nextStep"></p>
 
-    {% if count %}
-    <p>You've had {{ count }} coffee{% if count != 1 %}s{% endif %} today.</p>
+    {% if count or count_mate%}
+    <p>You've had {{ count }} coffee{% if count != 1 %}s{% endif %} and {{ count_mate }} Club-Mate today.</p>
     {% endif %}
 
     <img src="{{ url_for('coffee_graph_history', _external=True, stamp=stamp) }}">