From 15579393add3ed168faad3c9ac8d3eef3f62305b Mon Sep 17 00:00:00 2001 From: Marek Baczynski Date: Sun, 12 Nov 2017 20:43:48 +0100 Subject: [PATCH] space for the "date" of the next meal --- kuk.py | 2 +- templates/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kuk.py b/kuk.py index 3c89093..71dd279 100644 --- a/kuk.py +++ b/kuk.py @@ -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 :(" diff --git a/templates/index.html b/templates/index.html index a305c67..fcb9531 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,6 +34,7 @@

Cook

+ date: {{ date }} {% if cook.confirmed == "no" %}

If nobody volunteers,

will cook.