2019-04-07 16:44:33 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
|
|
|
<ul class="pagination">
|
2019-04-27 07:11:42 +00:00
|
|
|
% for my $month (history_months()) {
|
|
|
|
% my $link_to = $month->[0];
|
|
|
|
% my $text = $month->[1];
|
2019-04-07 16:44:33 +00:00
|
|
|
% my $class = $link_to eq $current ? 'active' : 'waves-effect';
|
2019-04-27 07:11:42 +00:00
|
|
|
<li class="<%= $class %>"><a href="/history/<%= $link_to %>"><%= $text %></a></li>
|
2019-04-07 16:44:33 +00:00
|
|
|
% }
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|