summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-02 09:14:55 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-02 09:14:55 +0100
commit47658b7496ee0081d80a14dde4b15ff275452848 (patch)
tree5de1fcb103d7a21bcaed5109a963e4a5f9cb7947
parent1690a07d92696f0878a3d305e74c09530b3c49d6 (diff)
map header: support exclusive use of filter_from / filter_to
-rw-r--r--templates/history_map.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep
index 9218f76..833bf80 100644
--- a/templates/history_map.html.ep
+++ b/templates/history_map.html.ep
@@ -6,6 +6,12 @@
% elsif (param('filter_from') and param('filter_to')) {
Fahrten zwischen dem <strong><%= param('filter_from') %></strong> und dem <strong><%= param('filter_to') %></strong>
% }
+ % elsif (param('filter_from')) {
+ Fahrten ab dem <strong><%= param('filter_from') %></strong>
+ % }
+ % elsif (param('filter_to')) {
+ Fahrten bis einschließlich <strong><%= param('filter_to') %></strong>
+ % }
% elsif (@{$station_coordinates}) {
Alle bisherigen Fahrten
% }