mirror of
https://github.com/derf/travelynx
synced 2024-12-12 05:52:33 +00:00
12 lines
355 B
Text
12 lines
355 B
Text
<div class="row">
|
|
<div class="col s12">
|
|
<ul class="pagination">
|
|
% for my $month (history_months()) {
|
|
% my $link_to = $month->[0];
|
|
% my $text = $month->[1];
|
|
% my $class = $link_to eq $current ? 'active' : 'waves-effect';
|
|
<li class="<%= $class %>"><a href="/history/<%= $link_to %>"><%= $text %></a></li>
|
|
% }
|
|
</ul>
|
|
</div>
|
|
</div>
|