+ {# 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') %}
+
+ {% if prev_month in month_options %}
+
+ ← {{ prev_month }}
+
+ {% else %}
+
+ {% endif %}
- {# LEWA STRONA - Przyciski #}
-
- {% if prev_month in month_options %}
-
- ← {{ prev_month }}
-
- {% else %}
-
- {% endif %}
-
- {% if next_month in month_options %}
-
- {{ next_month }} →
-
- {% else %}
-
- {% 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 %}
+
- {# PRAWA STRONA - Picker #}
-
+ {# PRAWA STRONA — picker miesięcy zawsze widoczny #}
+
+
@@ -193,8 +199,8 @@
Utworzono |
Właściciel |
Produkty |
-
Wypełnienie |
-
Komentarze |
+
Progress |
+
Koment. |
Paragony |
Wydatki |
Akcje |
@@ -257,10 +263,10 @@
|
@@ -268,7 +274,9 @@
-
+
+
+