summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-07-07 22:26:31 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-07-07 22:26:31 +0200
commit0b5bc869b5a8117b9eb6ee9aa92ee22eea8274b2 (patch)
tree5f077a1dc9935ed1ad8a4533dae59fd66c7bc7bc
parent32341dc5d261df7713a700d89d7a72dcd94fea28 (diff)
move footer to layout1.32.10
-rw-r--r--templates/_footer.html.ep11
-rw-r--r--templates/changelog.html.ep2
-rw-r--r--templates/departures.html.ep2
-rw-r--r--templates/landingpage.html.ep2
-rw-r--r--templates/layouts/default.html.ep11
-rw-r--r--templates/login.html.ep2
-rw-r--r--templates/profile.html.ep2
-rw-r--r--templates/register.html.ep2
-rw-r--r--templates/user_status.html.ep2
-rw-r--r--templates/year_in_review.html.ep2
10 files changed, 11 insertions, 27 deletions
diff --git a/templates/_footer.html.ep b/templates/_footer.html.ep
deleted file mode 100644
index 06623ff..0000000
--- a/templates/_footer.html.ep
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="row" style="margin-top: 5em;">
- <div class="col s12 center-align grey-text">
- <a href="/about">travelynx</a> v<%= $version // '???' %>
- <span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
- <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="/legend">Legende</a>
- </div>
-</div>
diff --git a/templates/changelog.html.ep b/templates/changelog.html.ep
index c60be19..77c7a6d 100644
--- a/templates/changelog.html.ep
+++ b/templates/changelog.html.ep
@@ -522,5 +522,3 @@
</ul>
</div>
</div>
-
-%= include '_footer', version => stash('version')
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 852f876..0d10338 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -92,5 +92,3 @@
% }
</div>
</div>
-
-%= include '_footer', version => stash('version')
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index 178e762..b91cd89 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -122,5 +122,3 @@
</div>
</div>
% }
-
-%= include '_footer', version => stash('version')
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 03c59a4..468039d 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -132,6 +132,17 @@
%= include '_deletion_note', timestamp => $acc->{deletion_requested}
% }
%= content
+ <div class="row" style="margin-top: 5em;">
+ <div class="col s12 center-align grey-text">
+ <a href="/about">travelynx</a> v<%= $version // '???' %>
+ <span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
+ <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="/legend">Legende</a>
+ </div>
+ </div>
</div>
<script>
diff --git a/templates/login.html.ep b/templates/login.html.ep
index a8d7296..4e6097f 100644
--- a/templates/login.html.ep
+++ b/templates/login.html.ep
@@ -97,5 +97,3 @@
</div>
</div>
%= end
-
-%= include '_footer', version => stash('version')
diff --git a/templates/profile.html.ep b/templates/profile.html.ep
index c0ffe1d..b65f528 100644
--- a/templates/profile.html.ep
+++ b/templates/profile.html.ep
@@ -90,5 +90,3 @@
</div>
%= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys;
% }
-
-%= include '_footer', version => stash('version')
diff --git a/templates/register.html.ep b/templates/register.html.ep
index d5e5fa3..ee344f9 100644
--- a/templates/register.html.ep
+++ b/templates/register.html.ep
@@ -64,5 +64,3 @@
</p>
</div>
</div>
-
-%= include '_footer', version => stash('version')
diff --git a/templates/user_status.html.ep b/templates/user_status.html.ep
index 95d2dfa..45fba54 100644
--- a/templates/user_status.html.ep
+++ b/templates/user_status.html.ep
@@ -3,5 +3,3 @@
%= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey
</div>
</div>
-
-%= include '_footer', version => stash('version')
diff --git a/templates/year_in_review.html.ep b/templates/year_in_review.html.ep
index 513c14e..dae45bc 100644
--- a/templates/year_in_review.html.ep
+++ b/templates/year_in_review.html.ep
@@ -167,5 +167,3 @@
</div>
</div>
</div>
-
-%= include '_footer', version => stash('version')