diff --git a/templates/_history_years_list.html.ep b/templates/_history_years_list.html.ep new file mode 100644 index 0000000..e91ebca --- /dev/null +++ b/templates/_history_years_list.html.ep @@ -0,0 +1,13 @@ +
+
+
+ % for my $year (journeys->get_years(uid => current_user->{id})) { + <%= $year->[1] %> + % if (defined $year->[2]{km_route}) { + <%= sprintf('%.f', $year->[2]{km_route}) %> km + % } + + % } +
+
+