diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-01 12:58:59 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-01 12:58:59 +0100 |
commit | 2c229c0317dece4c80b5ca610fa80d5fba50eabd (patch) | |
tree | 53a9cedc9941fcdd9766618ca238c70b91e397d6 /templates | |
parent | b71203738cc7df72773b736629362c4fbb6b083a (diff) |
map: show year in headline if set
Diffstat (limited to 'templates')
-rw-r--r-- | templates/history_map.html.ep | 5 |
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 { |