From 2761baf6eebd935206f72a6d48c0d981e713e2dd Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 25 Mar 2025 18:09:24 +0100 Subject: Consistently use 'train' for DB (IRIS, bahn.de) and 'directions' for HAFAS --- templates/journey.html.ep | 2 +- templates/landingpage.html.ep | 7 +------ templates/legend.html.ep | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/templates/journey.html.ep b/templates/journey.html.ep index c13da5f..c052190 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -269,7 +269,7 @@ % }
- + %= $journey->{backend_name} || 'IRIS' #<%= $journey->{id} %>
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 0ccb1ad..b5d1745 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -67,12 +67,7 @@
- % if ($user->{backend_id}) { - <%= $user->{backend_name} %> - % } - % else { - IRIS - % } + <%= $user->{backend_name} // 'IRIS' %>