summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-07-26 21:23:21 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-07-26 21:23:21 +0200
commit581963a87e764149b4dc6909e75dcd79577834de (patch)
treebf69fe8a5ee2fa9792b22f0cc12855f8100bb862 /templates
parent344541786dd7cc554ad770e0d55ab8f7618ed1e4 (diff)
only indicate backend type via icon to save space2.8.5
Diffstat (limited to 'templates')
-rw-r--r--templates/departures.html.ep6
-rw-r--r--templates/landingpage.html.ep4
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 @@
<div class="col s4 center-align">
% my $self_link = url_for('sstation', station => param('station'));
% if (param('hafas')) {
- <span class="btn-small disabled"><i class="material-icons left" aria-hidden="true">directions</i> <%= param('hafas') %> (HAFAS)</span>
+ <span class="btn-small disabled"><i class="material-icons left" aria-hidden="true">directions</i> <%= param('hafas') %></span>
% }
% else {
% if ($user->{backend_id}) {
- <a href="/account/select_backend?redirect_to=<%= $self_link %>" class="btn-small"><i class="material-icons left" aria-hidden="true">directions</i><%= $user->{backend_name} %> (<%= $user->{backend_hafas} ? 'HAFAS' : q{} %>)</a>
+ <a href="/account/select_backend?redirect_to=<%= $self_link %>" class="btn-small"><i class="material-icons left" aria-hidden="true">directions</i><%= $user->{backend_name} %></a>
% }
% else {
- <a href="/account/select_backend?redirect_to=<%= $self_link %>" class="btn-small"><i class="material-icons left" aria-hidden="true">train</i>DB (IRIS-TTS)</a>
+ <a href="/account/select_backend?redirect_to=<%= $self_link %>" class="btn-small"><i class="material-icons left" aria-hidden="true">train</i>DB</a>
% }
% }
</div>
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 @@
</div>
<div class="card-action">
% if ($user->{backend_id}) {
- <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">directions</i><%= $user->{backend_name} %> (<%= $user->{backend_hafas} ? 'HAFAS' : q{} %>)</a>
+ <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">directions</i><%= $user->{backend_name} %></a>
% }
% else {
- <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">train</i>DB (IRIS-TTS)</a>
+ <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">train</i>DB</a>
% }
<button class="btn right waves-effect waves-light btn-flat" type="submit" name="action" value="departures">
<i class="material-icons left" aria-hidden="true">send</i>