|
|
|
@ -38,10 +38,9 @@
|
|
|
|
|
{% if loop.index != 1 and (meal.meal_date != meals[loop.index - 2].meal_date) %}
|
|
|
|
|
<h2>{{meal.meal_date}}</h2>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<div class="flex-card" onclick="location.href='/meal/{{meal.id}}';" style="cursor: pointer; width: 60%;">
|
|
|
|
|
<div class="people">
|
|
|
|
|
<div class="flex-card" onclick="location.href='/meal/{{meal.id}}';" style="cursor: pointer; width: 60%; justify-content: space-between;">
|
|
|
|
|
<span><b>{{meal.meal_time}}</b></span>
|
|
|
|
|
<p style="text-align: left;">{% if meal.kuk != "" %}<img class="flex-small-thumb" src="{{url_for('static', filename=meal.kuk + '.png')}}" title="{{meal.kuk}}" align="middle" style="margin: " /> <b>WILL</b> cook for <br>{% for e in meal.eaters %}<img class="flex-small-thumb" src="{{url_for('static', filename=e + '.png')}}" title="{{e}}" align="middle"/> {% endfor %}{% else %}<img class="flex-small-thumb" src="{{url_for('static', filename=meal.candidate + '.png')}}" title="{{meal.kuk}}" align="middle" style="margin: " /> <b>SHOULD</b> cook for <br>{% for e in meal.eaters %}<img class="flex-small-thumb" src="{{url_for('static', filename=e + '.png')}}" title="{{e}}" align="middle"/> {% endfor %}{% endif %}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<span>Confirmed in {{meal.selection_deadline}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor%}
|
|
|
|
|