diff --git a/templates/index.html b/templates/index.html index bf1d4fa..9c4defb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,7 @@ - Meal planned for {{meal_date}} - KUKAPP + Meal planned for {{meal.meal_friendly_date}} - KUKAPP @@ -29,34 +29,34 @@ {% endfor %}
-

When: {{date}}

+

When: {{meal.meal_friendly_date}}

Cook

- {% if cook.confirmed == "no" %} + {% if meal.kuk == "" %} -

If nobody volunteers,
will cook.

+

If nobody volunteers,
will cook.

VOLUNTEER
{% else %} - - {{ cook.name }} + + {{ meal.kuk }}
CONFIRMED
{% endif %}

Eaters

- {% for eater in eaters %} + {% for eater in meal.eaters %}
- {{ eater }} + {{ eater }}
{% endfor %} - {% if not current_user.name in eaters %} + {% if not current_user.name in eaters and current_user.name != meal.kuk %}
-
+
Add me
{% else %}
-
+
Remove me
{% endif %}