From 2613fc0e5896a03bb71f3cb8151f85b415fcab1f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Dec 2020 22:15:09 +0100 Subject: use stats-enabled list view for year list as well --- templates/_history_years.html.ep | 2 +- templates/history.html.ep | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/_history_years.html.ep b/templates/_history_years.html.ep index 686908f..5591799 100644 --- a/templates/_history_years.html.ep +++ b/templates/_history_years.html.ep @@ -1,6 +1,6 @@
- % my @years = journeys->get_years(uid => current_user->{id}); + % my @years = journeys->get_nav_years(uid => current_user->{id}); % if (@years) {
    % for my $year (@years) { diff --git a/templates/history.html.ep b/templates/history.html.ep index 1752000..6b8c335 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -1,6 +1,8 @@

    Fahrten

    -%= include '_history_years', current => ''; +Für Details ein Jahr auswählen. + +%= include '_history_years_list';

    Auswertungen

    -- cgit v1.2.3