commit:     4edb1f27ab924d130d8d3b76fb612f9d32ae8909
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Fri Feb  5 20:42:07 2016 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Fri Feb  5 20:42:07 2016 +0000
URL:        https://gitweb.gentoo.org/sites/www.git/commit/?id=4edb1f27

mailinglists: No meta links for private lists (#572016)

 _data/mailinglists.yaml             | 5 +++++
 _includes/partials/mailinglist.html | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/_data/mailinglists.yaml b/_data/mailinglists.yaml
index 1eed89b..9b139f8 100644
--- a/_data/mailinglists.yaml
+++ b/_data/mailinglists.yaml
@@ -153,12 +153,16 @@ other:
     description: "Discussion of eudev development"
   - name: "libconf"
     description: "For the discussion of libconf development"
+    private: true
   - name: "bug-wranglers"
     description: "Special-purpose list for the Gentoo Bug Wranglers. This 
mailing list is by invite only. If you are interested in joining, simply get 
active on bugzilla and help our existing members wrangle bugs. You'll get 
noticed and invited to be a bug-wrangler in due course."
+    private: true
   - name: "gentoo-test"
     description: "For testing of the list management software (restricted 
list)"
+    private: true
   - name: "gentoo-core"
     description: "Internal Gentoo developer discussions (non-development, 
restricted list)"
+    private: true
   - name: "gentoo-foundation-announce"
     description: "Legally required announcements of the Gentoo Foundation to 
foundation members (restricted & moderated list)"
     moderated: true
@@ -170,3 +174,4 @@ other:
       - robbat2
   - name: "gentoo-infrastructure"
     description: "Internal Gentoo Infrastructure project list (restricted 
list)"
+    private: true

diff --git a/_includes/partials/mailinglist.html 
b/_includes/partials/mailinglist.html
index 39a9af1..98959f1 100644
--- a/_includes/partials/mailinglist.html
+++ b/_includes/partials/mailinglist.html
@@ -12,10 +12,12 @@
     {% endif %}
   </td>
   <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">
       <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 }}+subscr...@lists.gentoo.org" 
title="Subscribe to this list" class="btn btn-default"><span class="fa fa-fw 
fa-plus-square"></span></a>
       <a href="http://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 %}
   </td>
-</tr>
\ No newline at end of file
+</tr>

Reply via email to