aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-29 12:09:47 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-29 12:09:47 +0100
commite9b5e5b92189a1684a1e9d48c79d604d85c61c75 (patch)
treef5d1e56d8496f29afe31ac1f004f7f5530ad6434
parentglep: Link GLEP source to gitweb (diff)
downloadwww-e9b5e5b92189a1684a1e9d48c79d604d85c61c75.tar.gz
www-e9b5e5b92189a1684a1e9d48c79d604d85c61c75.tar.bz2
www-e9b5e5b92189a1684a1e9d48c79d604d85c61c75.zip
get-involved/mailing-lists: Support listing archived lists
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--_includes/partials/mailinglist.html2
-rw-r--r--get-involved/mailing-lists/all-lists.html15
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 %}