From 9a45444db4adf1ec3a8ff2f105e88cea6885b0a3 Mon Sep 17 00:00:00 2001 From: elpatron Date: Sat, 26 Jul 2025 10:28:30 +0200 Subject: [PATCH] =?UTF-8?q?Version=201.3.10:=20Versionsanzeige=20im=20Foot?= =?UTF-8?q?er=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 5 ++++- templates/index.html | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 0b10f53..4454774 100644 --- a/app.py +++ b/app.py @@ -11,6 +11,9 @@ app_start_time = time.time() app = Flask(__name__) app.secret_key = os.environ.get('SECRET_KEY', 'dev-key') +# Version der App +APP_VERSION = "1.3.10" + # HTML-Template wird jetzt aus templates/index.html geladen WOCHENTAGE = ["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"] @@ -158,7 +161,7 @@ def index(): except Exception: plusminus_result = 'Ungültige Eingabe' return render_template('index.html', tage=tage, werktage=werktage, wochentag=wochentag, plusminus_result=plusminus_result, kw_berechnen=kw_berechnen, kw_datum=kw_datum, active_idx=active_idx - , feiertage_anzahl=feiertage_anzahl, wochenendtage_anzahl=wochenendtage_anzahl + , feiertage_anzahl=feiertage_anzahl, wochenendtage_anzahl=wochenendtage_anzahl, app_version=APP_VERSION ) diff --git a/templates/index.html b/templates/index.html index 30934ba..7c0a4a9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -836,6 +836,7 @@ footer br + a { Dies ist ein werbe- und trackingfreier Open Source Datumsrechner
REST API Dokumentation (Swagger)
© 2025 M. Busche +
v{{ app_version }}