summaryrefslogtreecommitdiff
path: root/templates/history_by_month.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-07-28 15:38:31 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-07-28 15:38:31 +0200
commit6659d761011b7303df50e9c05f749adaf2293047 (patch)
tree8ad8e342b0eedea11cba0a6fadc04e04380a0bd5 /templates/history_by_month.html.ep
parent581963a87e764149b4dc6909e75dcd79577834de (diff)
history: add map link for monthly history2.8.6
Diffstat (limited to 'templates/history_by_month.html.ep')
-rw-r--r--templates/history_by_month.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/history_by_month.html.ep b/templates/history_by_month.html.ep
index 9ad7031..c3b1004 100644
--- a/templates/history_by_month.html.ep
+++ b/templates/history_by_month.html.ep
@@ -4,6 +4,12 @@
%= include '_history_stats', stats => stash('statistics');
% }
+<div class="row">
+ <div class="col s12 m12 l12 center-align">
+ <a href="/history/map?filter_from=<%= $filter_from->strftime('%d.%m.%Y') %>&amp;filter_to=<%= $filter_to->strftime('%d.%m.%Y') %>" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">map</i> Karte</a>
+ </div>
+</div>
+
% if (stash('journeys')) {
%= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
% }