From dc53e4774b2a5ddffa31d01d23879fa6f307c3b2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 30 Dec 2022 16:46:56 +0100 Subject: review: shop travelynx version --- lib/Travelynx/Controller/Traveling.pm | 9 +++++---- templates/year_in_review.html.ep | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 01a9059..9d32c86 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -1503,10 +1503,11 @@ sub year_in_review { $self->render( 'year_in_review', - title => "travelynx Jahresrückblick $year", - year => $year, - stats => $stats, - review => $review + version => $self->app->config->{version} // 'UNKNOWN', + title => "travelynx Jahresrückblick $year", + year => $year, + stats => $stats, + review => $review, ); } diff --git a/templates/year_in_review.html.ep b/templates/year_in_review.html.ep index dae45bc..513c14e 100644 --- a/templates/year_in_review.html.ep +++ b/templates/year_in_review.html.ep @@ -167,3 +167,5 @@ + +%= include '_footer', version => stash('version') -- cgit v1.2.3