diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-12-30 16:46:56 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-12-30 16:46:56 +0100 |
commit | dc53e4774b2a5ddffa31d01d23879fa6f307c3b2 (patch) | |
tree | 481a0b88a0c9cdbed977d7714fd57e5e88b9506c | |
parent | 7dc1b80ece690f531922837556464c10622033a4 (diff) |
review: shop travelynx version
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 9 | ||||
-rw-r--r-- | 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 @@ </div> </div> </div> + +%= include '_footer', version => stash('version') |