summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-01 13:00:13 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-01 13:00:13 +0100
commit0229768fe6730a559a42a32d2e9a37fef202bc11 (patch)
tree11be1ecaa6d47ade103b40e3dcc3ba2958d86f1c /templates
parent2c229c0317dece4c80b5ca610fa80d5fba50eabd (diff)
history_map: also show header for custom date ranges2.5.8
Diffstat (limited to 'templates')
-rw-r--r--templates/history_map.html.ep5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep
index 8b6323d..b6ebd9c 100644
--- a/templates/history_map.html.ep
+++ b/templates/history_map.html.ep
@@ -1,7 +1,10 @@
<div class="row">
<div class="col s12">
% if (stash('year')) {
- Alle Fahrten in <strong><%= stash('year') %></strong>
+ Fahrten im Jahr <strong><%= stash('year') %></strong>
+ % }
+ % elsif (param('filter_after') and param('filter_before')) {
+ Fahrten zwischen dem <strong><%= param('filter_after') %></strong> und dem <strong><%= param('filter_before') %></strong>
% }
% elsif (@{$station_coordinates}) {
Alle bisherigen Fahrten