space for the "date" of the next meal

master
Marek Baczynski 7 years ago
parent 736d90a5db
commit 15579393ad

@ -198,7 +198,7 @@ def index():
else:
cook['name'] = meal.kuk
cook['confirmed'] = 'yes'
return render_template('index.html', leaderboard=Person.leaderboard(), cook=cook, eaters=meal.eaters)
return render_template('index.html', leaderboard=Person.leaderboard(), cook=cook, eaters=meal.eaters, date=meal.date)
else:
return "no meal planed :("

@ -34,6 +34,7 @@
<h2>Cook</h2>
<div class="cook-entry">
<div class="cook-card">
<span>date: {{ date }}</span>
{% if cook.confirmed == "no" %}
<img src="{{url_for('static', filename='question.png')}}">
<p>If nobody volunteers,<br><br><img id="cook-small-thumb" src="{{url_for('static', filename=cook.name + '.png')}}"> will cook.</p>

Loading…
Cancel
Save