P0: x-cloak aktiv + Emojis durch Inline-SVG-Icons ersetzt
- base.html: [x-cloak]-CSS gegen Alpine-Flackern - Neues zentrales Icon-Makro-Template (icons.html, Heroicons-Stil, currentColor, aria-hidden) - Logo-Würfelbecher, Sync-Pfeile, Sortier-Chevrons, Warn-/Check-Icons, dedup-Karten (Gebäude/Tag/Buch/Dokument), Cover-Platzhalter als SVG - Cover-Platzhalter: 'Kein Cover'-Text in Großansicht, Mindestgröße 48x68 px in der Kartenansicht
This commit is contained in:
@@ -437,7 +437,9 @@ def test_neuheitenliste_rendert_platzhalter_ohne_bild(app, client):
|
||||
assert antwort.status_code == 200
|
||||
liste = antwort.text.split('<div id="neuheiten-liste"')[1].split("</main>")[0]
|
||||
assert "<img" not in liste
|
||||
assert "🎲" in antwort.text # Spielicon-Zeichen im Platzhalter-Div
|
||||
# SVG-Platzhalter statt Emoji: Würfel-Icon + Hinweistext
|
||||
assert 'aria-label="Kein Cover vorhanden"' in liste
|
||||
assert "<svg" in liste
|
||||
|
||||
|
||||
def test_planungsliste_zeigt_cover(app, client):
|
||||
|
||||
Reference in New Issue
Block a user