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 /_includes
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>
Diffstat (limited to '_includes')
-rw-r--r--_includes/partials/mailinglist.html2
1 files changed, 2 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 %}