summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-30 18:24:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-30 18:24:30 +0200
commitddea9abc6e91d820668825e779faef3efb024665 (patch)
treeacc206a627ead409cd118e91720f479f9123aee0 /templates
parent2d7c75f8779fef14eefa84a7c03fb16e52f9bf4f (diff)
show imprint/privacy/version on all public-facing pages1.0
Diffstat (limited to 'templates')
-rw-r--r--templates/_footer.html.ep9
-rw-r--r--templates/landingpage.html.ep8
-rw-r--r--templates/login.html.ep2
-rw-r--r--templates/register.html.ep2
4 files changed, 14 insertions, 7 deletions
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 @@
+<div class="row" style="margin-top: 5em;">
+ <div class="col s12 center-align grey-text">
+ <a href="impressum">Impressum</a>
+ <span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
+ <a href="impressum">Datenschutz</a>
+ <span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
+ <a href="https://finalrewind.org/projects/travelynx">travelynx</a> v<%= $version // '???' %>
+ </div>
+</div>
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 @@
</div>
% }
-<div class="row" style="margin-top: 5em;">
- <div class="col s12 center-align grey-text">
- <a href="impressum">Impressum und Datenschutz</a>
- <span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
- <a href="https://finalrewind.org/projects/travelynx">travelynx</a> v<%= stash('version') // '???' %>
- </div>
-</div>
+%= 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 @@
</div>
</div>
%= 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 @@
</p>
</div>
</div>
+
+%= include '_footer', version => stash('version')