Fix: Upgrades-Confirm-Modal — body→message, confirmLabel→confirmText (SW by-v943)
This commit is contained in:
parent
9da8665aca
commit
8d9c9b275d
4 changed files with 7 additions and 10 deletions
|
|
@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
|
|||
raise _HE(404, "Nicht gefunden.")
|
||||
return _media_response(filepath)
|
||||
|
||||
APP_VER = "942" # muss mit APP_VER in app.js übereinstimmen
|
||||
APP_VER = "943" # muss mit APP_VER in app.js übereinstimmen
|
||||
|
||||
@app.get("/.well-known/assetlinks.json")
|
||||
async def assetlinks():
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '942'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '943'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
|
||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||
|
|
|
|||
|
|
@ -3587,13 +3587,10 @@ window.Page_admin = (() => {
|
|||
const { id, name, tier } = btn.dataset;
|
||||
const tierLabel = { pro: 'Pro', breeder: 'Züchter' }[tier] || tier;
|
||||
const ok = await UI.modal.confirm({
|
||||
title: `${name} auf ${tierLabel} freischalten?`,
|
||||
body: `<p style="font-size:var(--text-sm)">
|
||||
Der Account wird auf <strong>${tierLabel}</strong> gesetzt und
|
||||
eine Bestätigungsmail gesendet.
|
||||
</p>`,
|
||||
confirmLabel: 'Freischalten',
|
||||
danger: false,
|
||||
title: `${name} auf ${tierLabel} freischalten?`,
|
||||
message: `Der Account wird auf ${tierLabel} gesetzt und eine Bestätigungsmail gesendet.`,
|
||||
confirmText: 'Freischalten',
|
||||
danger: false,
|
||||
});
|
||||
if (!ok) return;
|
||||
btn.disabled = true;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v942';
|
||||
const CACHE_VERSION = 'by-v943';
|
||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue