summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-30 10:22:53 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-30 10:22:53 +0100
commit5fea64fa3dd7bf8c3d8962e2456ae5e5e472399d (patch)
treec228a053bf6eb67efe22cb44e9029d7a1bf18f2d /templates
parent0aeb6403a35a4790a786681470ae2d2acc6a585c (diff)
always link to geolocation API in the menu
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index e94023f..f540847 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -75,6 +75,12 @@ Bitte eine Station aus der Liste auswählen</div>
<div class="field">
%= submit_button 'Abfahrtsmonitor'
</div>
+ % if (not stash('show_intro')) {
+ <div class="break"></div>
+ <div class="field">
+ <a class="button" href="<%= url_for('_auto')->to_abs->scheme('https') %>">Bahnhöfe im Umfeld suchen</a>
+ </div>
+ % }
<div class="break"></div>
<div class="moresettings-header moresettings-header-collapsed button button-light">Weitere Einstellungen</div>
<div class="moresettings moresettings-collapsed">