summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_history_years.html.ep2
-rw-r--r--templates/history.html.ep4
2 files changed, 4 insertions, 2 deletions
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 @@
<div class="row">
<div class="col s12">
- % my @years = journeys->get_years(uid => current_user->{id});
+ % my @years = journeys->get_nav_years(uid => current_user->{id});
% if (@years) {
<ul class="pagination">
% 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 @@
<h2>Fahrten</h2>
-%= include '_history_years', current => '';
+Für Details ein Jahr auswählen.
+
+%= include '_history_years_list';
<h2>Auswertungen</h2>
<div class="row">