summaryrefslogtreecommitdiff
blob: 77eda4cd9ac9778eac63fcfcb08dc8e985a2d999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<h1 class="first-header">Gentoo Mailing List Archives</h1>

<h2>Current Mailing Lists</h2>

<div class="row">
  <div class="col-xs-12 col-md-6">
    <div class="list-group">
      <% $config['active_lists'].each do |list| %>
      <a href="<%= h list %>/" class="list-group-item"><span class="fa fa-fw fa-archive"></span> <%= h list %></a>
      <% end %>
    </div>
  </div>
  <div class="col-xs-12 col-md-6">
    <div class="alert alert-info" role="alert">
      <strong>How to Participate</strong><br>
      Please see our <a href="https://www.gentoo.org/main/en/lists.xml" class="alert-link">Mailing List information page</a> for more information on
      how you can subscribe and participate in the discussions.
    </div>
  </div>
</div>

<h2>Frozen Archives</h2>

<div class="row">
  <div class="col-xs-12 col-md-6">
    <div class="list-group">
      <% $config['frozen_lists'].each do |list| 
          begin
              months = get_month_listing(list)
              count = months['hits']['total'] + ' mails'
          rescue => e
              count = 'mail count unavailable'
          end 
      %>
  <a href="<%= h list %>/" class="list-group-item"><span class="fa fa-fw fa-archive"></span> <%= h list %> (<%= count %>)</a>
      <% end %>
    </div>
  </div>
  <div class="col-xs-12 col-md-6">
    <div class="alert alert-warning" role="alert">
      <strong>Inactive Lists</strong><br>
      These mailing lists are inactive. You can not post or subscribe to them any more.
      Archives are provided for future reference.
    </div>
  </div>
</div>