From 26814aa470e8773a8315bed1b1582293cd8a27e7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 4 Mar 2023 09:33:44 +0100 Subject: user status: add footer --- lib/Travelynx/Controller/Traveling.pm | 1 + templates/user_status.html.ep | 2 ++ 2 files changed, 3 insertions(+) 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 + +%= include '_footer', version => stash('version') -- cgit v1.2.3