From ddea9abc6e91d820668825e779faef3efb024665 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 Apr 2019 18:24:30 +0200 Subject: show imprint/privacy/version on all public-facing pages --- templates/_footer.html.ep | 9 +++++++++ templates/landingpage.html.ep | 8 +------- templates/login.html.ep | 2 ++ templates/register.html.ep | 2 ++ 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 templates/_footer.html.ep diff --git a/templates/_footer.html.ep b/templates/_footer.html.ep new file mode 100644 index 0000000..81b102c --- /dev/null +++ b/templates/_footer.html.ep @@ -0,0 +1,9 @@ +
+
+ Impressum + + Datenschutz + + travelynx v<%= $version // '???' %> +
+
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 4e1af8e..0f293d9 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -121,10 +121,4 @@ % } -
-
- Impressum und Datenschutz - - travelynx v<%= stash('version') // '???' %> -
-
+%= include '_footer', version => stash('version') diff --git a/templates/login.html.ep b/templates/login.html.ep index 08146c8..474f165 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -88,3 +88,5 @@ %= end + +%= include '_footer', version => stash('version') diff --git a/templates/register.html.ep b/templates/register.html.ep index c1b8650..1983e92 100644 --- a/templates/register.html.ep +++ b/templates/register.html.ep @@ -61,3 +61,5 @@

+ +%= include '_footer', version => stash('version') -- cgit v1.2.3