summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-03-04 09:33:44 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-03-04 09:33:44 +0100
commit26814aa470e8773a8315bed1b1582293cd8a27e7 (patch)
tree37988fdf617ae74b1fcc32d7a4f8c643038a0842
parente1231b88e2dd989dea0ce97d2b28d7e895cbfeaa (diff)
user status: add footer1.30.2
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm1
-rw-r--r--templates/user_status.html.ep2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 80768ce..a3274aa 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -628,6 +628,7 @@ sub user_status {
journey_visibility => $visibility,
twitter => \%tw_data,
opengraph => \%og_data,
+ version => $self->app->config->{version} // 'UNKNOWN',
);
}
diff --git a/templates/user_status.html.ep b/templates/user_status.html.ep
index 783f430..d67ffb0 100644
--- a/templates/user_status.html.ep
+++ b/templates/user_status.html.ep
@@ -3,3 +3,5 @@
%= include '_public_status_card', name => $name, public_level => $public_level, journey => $journey, journey_visibility => $journey_visibility
</div>
</div>
+
+%= include '_footer', version => stash('version')