From 4c7b3117cd55b3cae67277a4280e2412d2e71ff8 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 21 Aug 2024 19:31:47 +0200 Subject: departures: always allow backend switch; prefer name rather than ID --- templates/departures.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 4843d81..6b16ce7 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -8,16 +8,16 @@ % }
- % my $self_link = url_for('sstation', station => param('station')); + % my $self_link = url_for('sstation', station => $station // param('station')); % if (param('hafas')) { - <%= param('hafas') %> + <%= param('hafas') %> % } % else { % if ($user->{backend_id}) { - <%= $user->{backend_name} %> + <%= $user->{backend_name} %> % } % else { - DB + DB % } % }
-- cgit v1.2.3