summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-07-24 21:11:45 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-07-24 21:11:59 +0200
commit2558df1b91e8aa2116fa88e34fc09055dca900ec (patch)
tree3036c37ca4961642b89b6a0b16f0d86317ad16f1 /templates/layouts
parentfe3037348459ed7e4e54b13281e0a1e82a94a78f (diff)
add a prominent backend selection link
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/app.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 579fb80..7d8bfca 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -141,6 +141,9 @@ Bitte eine Station aus der Liste auswählen</div>
<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a>
</div>
% }
+ <div class="backendlink">
+ <a class="button button-light" href="<%= url_for('_backend')->query({hafas => param('hafas')}) %>">Backend: <%= param('hafas') ? param('hafas') . ' (HAFAS)' : 'DB (IRIS-TTS)' %></a>
+ </div>
<div class="break"></div>
<div class="moresettings-header moresettings-header-collapsed button button-light">Weitere Einstellungen</div>
<div class="moresettings moresettings-collapsed">