From 11ddc957805e1a6b54e2fecbe4121d2c9e5c4a9e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 3 Jun 2019 15:15:08 +0200 Subject: add an about page --- templates/about.html.ep | 32 ++++++++++++++++++++++++++++++++ templates/layouts/default.html.ep | 14 +++----------- 2 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 templates/about.html.ep (limited to 'templates') diff --git a/templates/about.html.ep b/templates/about.html.ep new file mode 100644 index 0000000..9bc7138 --- /dev/null +++ b/templates/about.html.ep @@ -0,0 +1,32 @@ +
+

+ db-infoscreen + v<%= stash('version') // '???' %>
+ Entwickelt von @derfnull
+ Backends:
+ Travel::Status::DE::HAFAS + v<%= $Travel::Status::DE::HAFAS::VERSION %>
+ Travel::Status::DE::IRIS + v<%= $Travel::Status::DE::IRIS::VERSION %>
+ Haltestellendaten + © DB Station&Service AG, + Europaplatz 1, + 10557 Berlin, lizensiert unter CC-BY 4.0
+

+
+ +
+

+ Kontakt + · + Bugs? +

+
+ +% if (-e 'templates/imprint.html.ep') { +%= include 'imprint' +% } + +% if (-e 'templates/privacy.html.ep') { +%= include 'privacy' +% } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 32928c9..2c59b82 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -243,17 +243,9 @@ Bitte eine Station aus der Liste auswählen
-db-infoscreen -v<%= stash('version') // '???' %>
-Backends:
-Travel::Status::DE::HAFAS -v<%= $Travel::Status::DE::HAFAS::VERSION %>
-Travel::Status::DE::IRIS -v<%= $Travel::Status::DE::IRIS::VERSION %>
-Haltestellendaten -© DB Station&Service AG, -Europaplatz 1, -10557 Berlin, lizensiert unter CC-BY 4.0
+db-infoscreen +v<%= stash('version') // '???' %> +
Datenschutzerklärung · Impressum
-- cgit v1.2.3