From f12bec530a86c38c707648f0201fda265f78e440 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 Dec 2022 15:35:33 +0100 Subject: yearly/monthly history: return 404 for invalid dates --- templates/history_by_year.html.ep | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/history_by_year.html.ep b/templates/history_by_year.html.ep index a112258..9f9b022 100644 --- a/templates/history_by_year.html.ep +++ b/templates/history_by_year.html.ep @@ -3,7 +3,24 @@ % if (stash('statistics')) { %= include '_history_stats', stats => stash('statistics'); % } -% + +
+ % if (stash('have_review')) { +
+ Karte +
+
 
+ + % } + % else { +
+ Karte +
+ % } +
+ %= include '_history_months_for_year'; % if (stash('journeys')) { -- cgit v1.2.3