From c509703ce55e4347af3a07e52b989618f06b710b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Dec 2020 22:16:54 +0100 Subject: oopsie --- templates/_history_years_list.html.ep | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/_history_years_list.html.ep 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 + % } + + % } +
+
+
-- cgit v1.2.3