Align navigation and calm supporting copy across views

This commit is contained in:
2026-04-13 17:55:31 +02:00
parent a810162221
commit f17ab27c2e
8 changed files with 64 additions and 16 deletions
+12 -1
View File
@@ -107,7 +107,18 @@
<span class="chip status-soft">{{ item.owner_label }}</span>
<span class="chip">{{ item.for_label }}</span>
</div>
<p class="muted">{{ item_kind_labels[item.kind] }}{% if item.category %} · {{ item.category }}{% endif %}</p>
{% if item.kind == 'food' %}
<div class="chip-row">
<span class="chip">{{ item.base_type_label }}</span>
<span class="chip">{{ item.suggestion_role_label }}</span>
</div>
<p class="muted">{{ item_kind_labels[item.kind] }}</p>
{% else %}
<div class="chip-row">
<span class="chip">{{ item.meal_type_label }}</span>
<span class="chip">{{ energy_density_labels[item.energy_density] }}</span>
</div>
{% endif %}
{% if item.components %}
<p class="muted">Mit: {{ item.components|join(', ') }}</p>
{% endif %}