From 581963a87e764149b4dc6909e75dcd79577834de Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 26 Jul 2024 21:23:21 +0200 Subject: only indicate backend type via icon to save space --- templates/departures.html.ep | 6 +++--- templates/landingpage.html.ep | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 71dd0ad..4843d81 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -10,14 +10,14 @@
% my $self_link = url_for('sstation', station => param('station')); % if (param('hafas')) { - <%= param('hafas') %> (HAFAS) + <%= param('hafas') %> % } % else { % if ($user->{backend_id}) { - <%= $user->{backend_name} %> (<%= $user->{backend_hafas} ? 'HAFAS' : q{} %>) + <%= $user->{backend_name} %> % } % else { - DB (IRIS-TTS) + DB % } % }
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index bf5a4d4..e34006a 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -67,10 +67,10 @@
% if ($user->{backend_id}) { - <%= $user->{backend_name} %> (<%= $user->{backend_hafas} ? 'HAFAS' : q{} %>) + <%= $user->{backend_name} %> % } % else { - DB (IRIS-TTS) + DB % }