summaryrefslogtreecommitdiff
blob: 32df61580f144cf4f46306eb22f03c1711ef4608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1 class="first-header">Gentoo Archives: <%= list %></h1>

<table class="table">
  <tr>
    <th>Month</th>
    <th>Number of messages</th>
  </tr>
  <% results['aggregations']['messages_by_month']['buckets'].each do |month| %>
  <% next if month['key'].to_i > current_monthint and not params[:allmonths] %>
    <tr>
      <td><%= monthint_to_link(month['key'].to_s) %></td>
      <td><%= month['doc_count'] %></td>
    </tr>
  <% end %>
</table>