diff --git a/templates/admin/admin_panel.html b/templates/admin/admin_panel.html
index 614ee61..ae7e961 100644
--- a/templates/admin/admin_panel.html
+++ b/templates/admin/admin_panel.html
@@ -133,30 +133,30 @@
{# LEWA STRONA — przyciski ← → TYLKO gdy nie show_all #}
{% if not show_all %}
- {% set current_date = now.replace(day=1) %}
- {% set prev_month = (current_date - timedelta(days=1)).strftime('%Y-%m') %}
- {% set next_month = (current_date + timedelta(days=31)).replace(day=1).strftime('%Y-%m') %}
+ {% set current_date = now.replace(day=1) %}
+ {% set prev_month = (current_date - timedelta(days=1)).strftime('%Y-%m') %}
+ {% set next_month = (current_date + timedelta(days=31)).replace(day=1).strftime('%Y-%m') %}
- {% if prev_month in month_options %}
-
- ← {{ prev_month }}
-
- {% else %}
-
- {% endif %}
-
- {% if next_month in month_options %}
-
- {{ next_month }} →
-
- {% else %}
-
- {% endif %}
+ {% if prev_month in month_options %}
+
+ ← {{ prev_month }}
+
{% else %}
- {# Tryb wszystkie miesiące — możemy pokazać skrót do bieżącego miesiąca #}
-
- 📅 Przejdź do bieżącego miesiąca
-
+
+ {% endif %}
+
+ {% if next_month in month_options %}
+
+ {{ next_month }} →
+
+ {% else %}
+
+ {% endif %}
+ {% else %}
+ {# Tryb wszystkie miesiące — możemy pokazać skrót do bieżącego miesiąca #}
+
+ 📅 Przejdź do bieżącego miesiąca
+
{% endif %}
@@ -167,10 +167,10 @@