summaryrefslogtreecommitdiff
blob: a9c2fc2cc90fa876dcc2b2e8ffbc7902fba7d0f7 (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
47
48
49
50
51
52
53
54
55
<h1 class="first-header">Gentoo Mailing List Archives</h1>

<h2>Current Mailing Lists</h2>

<div class="row">
  <div class="col-12 col-md-6">
    <div class="list-group">
      <% $config['active_lists'].each do |list| %>
        <a href="<%= h list %>/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
          <span>
            <span class="fa fa-fw fa-archive"></span>
            <%= h list %>
          </span>
          <h4 class="mb-0">
          <span class="badge badge-secondary badge-pill"><%= MessageCountCache.instance[list] %></span>
          </h4>
        </a>
      <% end %>
    </div>
  </div>
  <div class="col-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/get-involved/mailing-lists/" 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 class="mt-5">Frozen Archives</h2>

<div class="row">
  <div class="col-12 col-md-6">
    <div class="list-group">
      <% $config['frozen_lists'].each do |list| %>
        <a href="<%= h list %>/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
          <span>
              <span class="fa fa-fw fa-archive"></span>
              <%= h list %>
          </span>
          <h4 class="mb-0">
          <span class="badge badge-secondary badge-pill"><%= MessageCountCache.instance[list] %></span>
          </h4>
        </a>
      <% end %>
    </div>
  </div>
  <div class="col-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>