mirror of
https://github.com/derf/travelynx
synced 2024-11-14 00:37:16 +00:00
13 lines
404 B
Text
13 lines
404 B
Text
<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>
|