fix(v2): Cache-Buster fuer CSS via ?v=app_version
Browser-Cache zeigte alte v2.css ohne v2-menu-toggle-display:none-Regel. Mit ?v=1.0.0 wird auf Versionsspruenge sauber neu geladen. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b1ad2bd45d
commit
98787c8684
@ -362,6 +362,7 @@ def _v2_template_context(current_user=None) -> dict:
|
||||
"is_authenticated": is_authenticated,
|
||||
"is_admin": is_admin,
|
||||
"v2_bundeslaender": v2_bls,
|
||||
"app_version": settings.app_version,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
<link rel="alternate" type="application/atom+xml" title="GWÖ-Antragsprüfer — Neue Bewertungen" href="/api/feed.xml">
|
||||
|
||||
{# Design-System: Tokens zuerst, dann Fonts, dann Base-Styles #}
|
||||
<link rel="stylesheet" href="/static/v2/tokens.css">
|
||||
<link rel="stylesheet" href="/static/v2/fonts.css">
|
||||
<link rel="stylesheet" href="/static/v2/v2.css">
|
||||
<link rel="stylesheet" href="/static/v2/tokens.css?v={{ app_version|default('1') }}">
|
||||
<link rel="stylesheet" href="/static/v2/fonts.css?v={{ app_version|default('1') }}">
|
||||
<link rel="stylesheet" href="/static/v2/v2.css?v={{ app_version|default('1') }}">
|
||||
|
||||
{% block head_extra %}{% endblock %}
|
||||
</head>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user