oopsie
This commit is contained in:
parent
2613fc0e58
commit
c509703ce5
1 changed files with 13 additions and 0 deletions
13
templates/_history_years_list.html.ep
Normal file
13
templates/_history_years_list.html.ep
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="collection">
|
||||
% for my $year (journeys->get_years(uid => current_user->{id})) {
|
||||
<a class="collection-item" href="/history/<%= $year->[0] %>"><%= $year->[1] %>
|
||||
% if (defined $year->[2]{km_route}) {
|
||||
<span class="secondary-content"><%= sprintf('%.f', $year->[2]{km_route}) %> km</span>
|
||||
% }
|
||||
</a>
|
||||
% }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue