summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-06-15 17:49:37 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-06-15 17:49:37 +0200
commit0893613bf7825ca4fb98f63a67d99c47775ec0dc (patch)
tree65b5d5af83877f26f9686f1bac93cb2cfaa9e61e
parentba9a35e3e927747da02fc1f1551d48a1582dd9cd (diff)
departure board: EFA supports time selection
-rw-r--r--templates/departures.html.ep8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 917973b..16b5f3c 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -105,7 +105,7 @@
<div class="row">
<div class="col s4 center-align">
- % if ($dbris or $hafas or $motis) {
+ % if ($dbris or $efa or $hafas or $motis) {
<a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->subtract(hours => 1)->epoch}) %>"><i class="material-icons left" aria-hidden="true">chevron_left</i><span class="hide-on-small-only">früher</span></a>
% }
</div>
@@ -115,7 +115,7 @@
% }
</div>
<div class="col s4 center-align">
- % if ($dbris or $hafas or $motis) {
+ % if ($dbris or $efa or $hafas or $motis) {
<a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->add(hours => 1)->epoch}) %>"><span class="hide-on-small-only">später</span><i class="material-icons right" aria-hidden="true">chevron_right</i></a>
% }
</div>
@@ -178,14 +178,14 @@
<div class="row">
<div class="col s4 center-align">
- % if ($dbris or $hafas) {
+ % if ($dbris or $efa or $hafas or $motis) {
<a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->subtract(hours => 1)->epoch}) %>"><i class="material-icons left" aria-hidden="true">chevron_left</i><span class="hide-on-small-only">früher</span></a>
% }
</div>
<div class="col s4 center-align">
</div>
<div class="col s4 center-align">
- % if ($dbris or $hafas) {
+ % if ($dbris or $efa or $hafas or $motis) {
<a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->add(hours => 1)->epoch}) %>"><span class="hide-on-small-only">später</span><i class="material-icons right" aria-hidden="true">chevron_right</i></a>
% }
</div>