@ -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)
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>