space for the "date" of the next meal
This commit is contained in:
@@ -198,7 +198,7 @@ def index():
|
|||||||
else:
|
else:
|
||||||
cook['name'] = meal.kuk
|
cook['name'] = meal.kuk
|
||||||
cook['confirmed'] = 'yes'
|
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:
|
else:
|
||||||
return "no meal planed :("
|
return "no meal planed :("
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
<h2>Cook</h2>
|
<h2>Cook</h2>
|
||||||
<div class="cook-entry">
|
<div class="cook-entry">
|
||||||
<div class="cook-card">
|
<div class="cook-card">
|
||||||
|
<span>date: {{ date }}</span>
|
||||||
{% if cook.confirmed == "no" %}
|
{% if cook.confirmed == "no" %}
|
||||||
<img src="{{url_for('static', filename='question.png')}}">
|
<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>
|
<p>If nobody volunteers,<br><br><img id="cook-small-thumb" src="{{url_for('static', filename=cook.name + '.png')}}"> will cook.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user