release nouri 0.5.0 shopping rhythm pwa and reminders
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div>
|
||||
<p class="eyebrow">Einkaufsliste</p>
|
||||
<h1>Was noch mitkommen soll</h1>
|
||||
<p class="lead">Fehlende Lebensmittel aus einer Mahlzeit landen jetzt einzeln hier. So bleibt die Liste konkret und alltagsnah.</p>
|
||||
<p class="lead">Hier erscheint, was für den nächsten Einkauf wirklich relevant ist. Spätere Bedarfe bleiben erstmal ruhig vorgemerkt.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -26,9 +26,15 @@
|
||||
</section>
|
||||
|
||||
{% if entries %}
|
||||
<section class="panel compact-form-panel">
|
||||
<div class="panel-head">
|
||||
<h2>Für den nächsten Einkauf</h2>
|
||||
<span>{{ entries|length }} Einträge</span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="stack-list">
|
||||
{% for entry in entries %}
|
||||
<article class="list-row stacked-mobile">
|
||||
<article class="list-row stacked-mobile roomy-row">
|
||||
<div>
|
||||
<strong>{{ entry.item_name }}</strong>
|
||||
<p class="muted">{{ item_kind_labels[entry.item_kind] }}</p>
|
||||
@@ -65,4 +71,30 @@
|
||||
<p>Einträge aus Lebensmitteln, Vorlagen oder kleinen Paketen lassen sich jederzeit wieder hinzufügen.</p>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if upcoming_entries %}
|
||||
<section class="panel">
|
||||
<div class="panel-head">
|
||||
<h2>Später gebraucht</h2>
|
||||
<small>Einkaufstag: {{ shopping_weekday_label }}</small>
|
||||
</div>
|
||||
<div class="stack-list">
|
||||
{% for entry in upcoming_entries %}
|
||||
<article class="list-row stacked-mobile roomy-row">
|
||||
<div>
|
||||
<strong>{{ entry.item_name }}</strong>
|
||||
<p class="muted">Wird ab {{ entry.activation_label }} in die Einkaufsliste übernommen</p>
|
||||
<div class="chip-row">
|
||||
<span class="chip">{{ entry.for_label }}</span>
|
||||
<span class="chip">{{ entry.needed_for_label }}</span>
|
||||
{% if entry.needed_daypart_name %}
|
||||
<span class="chip status-soft">{{ entry.needed_daypart_name }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user