Template sync
This commit is contained in:
@@ -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])
|
||||||
|
|||||||
@@ -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) %}
|
||||||
|
|||||||
Reference in New Issue
Block a user