diff options
-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') |