From 6fd985ae7ef9800d5837af942d74ad6e7562c75d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Oct 2018 11:35:47 +0200 Subject: show close stations via geolocation --- templates/landingpage.html.ep | 4 ++++ templates/layouts/default.html.ep | 3 +++ 2 files changed, 7 insertions(+) (limited to 'templates') diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index e25cd22..c7a28bd 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -25,6 +25,10 @@
Hallo, <%= $self->get_user_name %>!

Du bist gerade nicht eingecheckt.

+

Stationen in der Umgebung:

+
+
+
% } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index c3ddac7..b5714c6 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -10,6 +10,9 @@ %= javascript '/static/js/jquery-2.2.4.min.js' %= javascript '/static/js/materialize.min.js' %= javascript '/static/js/travelynx-actions.js' + % if (stash('with_geolocation')) { + %= javascript '/static/js/geolocation.js' + % } -- cgit v1.2.3