From 000daef392e70e22e456f1be5f50af4d08c2b9cc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 May 2016 13:12:48 +0200 Subject: move landingpage to landingpage template --- templates/landingpage.html.ep | 21 ++++++++++++++++++++- templates/layouts/default.html.ep | 28 ---------------------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index c7b23f2..f7ff7ac 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -1 +1,20 @@ - +% if (stash 'show_intro') { +

+ Diese Seite ist ein inoffizielles Frontend zum Abfahrtsmonitor + der DB. Sie kann wahlweise die in Bahnhofshallen / an + Haltestellen montierten Anzeigen nachahmen oder einen Handy- und + Infoscreen-tauglichen Abfahrtsmonitor anzeigen. +

+

+ Als Backend werden sowohl das HAFAS/RIS ("Reisenden-Informationssystem") + als auch das IRIS unterstützt. Im Normalfall enthält das IRIS mehr und + detailliertere Angaben. +

+

+Alle Angaben ohne Gewähr. +

+ +% } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index e216091..8229e53 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -39,36 +39,8 @@
Bitte eine Station aus der Liste auswählen
% } -% if (time() < 1420178400 and param('backend') and (param('backend') eq 'iris' ) ) { -
Note: Due to an unknown problem on the IRIS -server, no schedule data is available. This service will resume operation -on 2015-01-02 at 07:00 CET.
-% } - %= content -% if (stash 'show_intro') { -

- Diese Seite ist ein inoffizielles Frontend zum Abfahrtsmonitor - der DB. Sie kann wahlweise die in Bahnhofshallen / an - Haltestellen montierten Anzeigen nachahmen oder einen Handy- und - Infoscreen-tauglichen Abfahrtsmonitor anzeigen. -

-

- Als Backend werden sowohl das HAFAS/RIS ("Reisenden-Informationssystem") - als auch das IRIS unterstützt. Im Normalfall enthält das IRIS mehr und - detailliertere Angaben. -

-

-Alle Angaben ohne Gewähr. -

- -% } - - % if (not stash('hide_opts')) {
-- cgit v1.2.3