release nouri 0.5.0 shopping rhythm pwa and reminders
This commit is contained in:
@@ -39,6 +39,26 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
{% if recipe_suggestions %}
|
||||
<section class="panel">
|
||||
<div class="panel-head">
|
||||
<h2>Passt gut dazu</h2>
|
||||
<a href="{{ url_for('main.item_create', kind='meal') }}">Neue Mahlzeit</a>
|
||||
</div>
|
||||
<div class="stack-sections">
|
||||
{% for suggestion in recipe_suggestions %}
|
||||
<article class="template-list-card">
|
||||
<div>
|
||||
<strong>{{ suggestion.title }}</strong>
|
||||
<small>{{ suggestion.reason }}</small>
|
||||
</div>
|
||||
<a class="ghost-button" href="{{ url_for('main.item_create', kind='meal', name=suggestion.title, component_ids=suggestion.component_ids) }}">Als Mahlzeit anlegen</a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if sections %}
|
||||
<section class="stack-sections">
|
||||
{% for section in sections if section["items"] %}
|
||||
|
||||
Reference in New Issue
Block a user