summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-01 12:58:59 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-01 12:58:59 +0100
commit2c229c0317dece4c80b5ca610fa80d5fba50eabd (patch)
tree53a9cedc9941fcdd9766618ca238c70b91e397d6 /templates
parentb71203738cc7df72773b736629362c4fbb6b083a (diff)
map: show year in headline if set
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 18a623d..8b6323d 100644
--- a/templates/history_map.html.ep
+++ b/templates/history_map.html.ep
@@ -1,6 +1,9 @@
<div class="row">
<div class="col s12">
- % if (@{$station_coordinates}) {
+ % if (stash('year')) {
+ Alle Fahrten in <strong><%= stash('year') %></strong>
+ % }
+ % elsif (@{$station_coordinates}) {
Alle bisherigen Fahrten
% }
% else {