feat(items): add German product names for in-store navigation
All checks were successful
Build and Deploy citti / build-and-deploy (push) Successful in 47s
All checks were successful
Build and Deploy citti / build-and-deploy (push) Successful in 47s
Each item now shows the German name (de field) below the Danish name so it's easier to find products on shelves in Citti Flensburg. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
.item-check input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
|
||||
.item-name { padding: 0.7rem 0.5rem; font-size: 14px; }
|
||||
.item-name .note { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }
|
||||
.item-name .de { font-size: 10px; color: #b0aba3; display: block; margin-top: 0; font-style: italic; }
|
||||
.badge { display: inline-block; font-size: 9px; padding: 1px 5px; border-radius: 3px; margin-left: 5px; vertical-align: middle; font-weight: 500; }
|
||||
.badge-card { background: var(--blue-light); color: var(--blue); }
|
||||
.badge-kasse { background: var(--amber-light); color: var(--amber); }
|
||||
@@ -229,6 +230,7 @@
|
||||
<div class="item-name">
|
||||
{{ item.name }}
|
||||
{% if item.get('badges') %}{% for b in item.badges %}{% if b == 'card' %}<span class="badge badge-card">CITTI CARD</span>{% endif %}{% if b == 'kasse' %}<span class="badge badge-kasse">Hel kasse</span>{% endif %}{% endfor %}{% endif %}
|
||||
{% if item.get('de') %}<span class="de">🇩🇪 {{ item.de }}</span>{% endif %}
|
||||
{% if item.get('note') %}<span class="note">{{ item.note }}</span>{% endif %}
|
||||
</div>
|
||||
<div class="item-qty">
|
||||
|
||||
Reference in New Issue
Block a user