Template sync

This commit is contained in:
2026-02-21 20:44:40 +01:00
parent b13a7ab724
commit 18d5bec9e3
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ def get_upcoming_events(days_to_show=None, limit=None):
# Typografie: Bindestrich durch En-Dash () ersetzen # Typografie: Bindestrich durch En-Dash () ersetzen
for col in ['Morgen', 'Nachmittag']: for col in ['Morgen', 'Nachmittag']:
df[col] = df[col].fillna('').astype(str).str.replace('-', '', regex=False) df[col] = df[col].fillna('').astype(str).str.replace('-', ' ', regex=False)
date_col = config['google_sheet']['date_column'] date_col = config['google_sheet']['date_column']
df = df.dropna(subset=[date_col]) df = df.dropna(subset=[date_col])

View File

@@ -53,7 +53,7 @@
</head> </head>
<body> <body>
{% if test %} {% if test %}
<div style="width: 370px ; margin: 20px auto; padding: 10px; background: rgb(100, 100, 100); border-radius: 8px;"> <div style="width: 310px ; margin: 20px auto; padding: 10px; background: rgb(100, 100, 100); border-radius: 8px;">
{% endif %} {% endif %}
{% set monate = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] %} {% set monate = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] %}
{% set ns = namespace(last_month=none, last_week=none) %} {% set ns = namespace(last_month=none, last_week=none) %}