summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')