diff options
-rw-r--r-- | _includes/partials/mailinglist.html | 2 | ||||
-rw-r--r-- | get-involved/mailing-lists/all-lists.html | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/_includes/partials/mailinglist.html b/_includes/partials/mailinglist.html index 8202689..b074690 100644 --- a/_includes/partials/mailinglist.html +++ b/_includes/partials/mailinglist.html @@ -14,8 +14,10 @@ <td class="ml-actions hidden-xs"> {% if list.private != true %} <div class="btn-group btn-group-xs" role="group" aria-label="Mailing list actions for {{ list.name }}@lists.gentoo.org"> + {% if include.archived != true %} <a href="mailto:{{ list.name }}@lists.gentoo.org" title="Post to this list" class="btn btn-default"><span class="fa fa-fw fa-send"></span></a> <a href="mailto:{{ list.name }}%2Bsubscribe@lists.gentoo.org" title="Subscribe to this list" class="btn btn-default"><span class="fa fa-fw fa-plus-square"></span></a> + {% endif %} <a href="https://archives.gentoo.org/{{ list.name }}/" title="Archives of this list" class="btn btn-default"><span class="fa fa-fw fa-archive"></span></a> </div> {% endif %} diff --git a/get-involved/mailing-lists/all-lists.html b/get-involved/mailing-lists/all-lists.html index e0e949d..0ac55f4 100644 --- a/get-involved/mailing-lists/all-lists.html +++ b/get-involved/mailing-lists/all-lists.html @@ -73,4 +73,19 @@ title: 'All mailing lists' {% endfor %} </table> </div> + +<h2>Archived mailing lists</h2> + +<div class="table-responsive"> + <table class="table table-striped"> + <tr> + <th>List name</th> + <th>Description</th> + <th class="ml-actions hidden-xs">Actions</th> + </tr> + {% for list in site.data.mailinglists.archived %} + {% include partials/mailinglist.html archived=true %} + {% endfor %} + </table> +</div> {% include container/end %} |