summaryrefslogtreecommitdiff
path: root/templates/history_map.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/history_map.html.ep')
-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 {