diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-25 18:09:24 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-25 18:09:24 +0100 |
commit | 2761baf6eebd935206f72a6d48c0d981e713e2dd (patch) | |
tree | 9050450c745b9cfbaadf434230c268c0f6433ad4 /templates/landingpage.html.ep | |
parent | 4fb451040f66d26f5bf38e66eb04fb01e6b89adc (diff) |
Consistently use 'train' for DB (IRIS, bahn.de) and 'directions' for HAFAS
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 7 |
1 files changed, 1 insertions, 6 deletions
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 @@ </div> </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} %></a> - % } - % else { - <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">train</i>IRIS</a> - % } + <a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true"><%= $user->{backend_hafas} ? 'directions' : 'train' %></i><%= $user->{backend_name} // 'IRIS' %></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> Abfahrten |