feat: make card QR codes open their targets
Check card layouts / check (push) Has been cancelled

This commit is contained in:
2026-07-19 17:59:17 +02:00
parent 92d7df2a38
commit 36d8dae1fc
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -157,6 +157,8 @@ def check_render() -> None:
for marker in ("resource-qr-repository", "resource-qr-page"):
if marker not in html:
raise AssertionError(f"HTML nie zawiera komórki {marker!r}")
if html.count('target="_blank" rel="noopener noreferrer"') < 2:
raise AssertionError("oba kody QR HTML muszą otwierać bezpieczną nową kartę")
if "PROJECT" not in html:
raise AssertionError("HTML nie zawiera nowej tabliczki projektu")
if "resource-qr-label" in html: