aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-04-02 11:09:31 +0200
committerAlex Legler <alex@a3li.li>2015-04-02 11:09:31 +0200
commitb0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef (patch)
treeae0ac2aedd349e4e5757200b5017e12f9a2b5b36 /_includes/partials/mailinglist.html
downloadwww-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.gz
www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.bz2
www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.zip
Initial version
Diffstat (limited to '_includes/partials/mailinglist.html')
-rw-r--r--_includes/partials/mailinglist.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/partials/mailinglist.html b/_includes/partials/mailinglist.html
new file mode 100644
index 0000000..39a9af1
--- /dev/null
+++ b/_includes/partials/mailinglist.html
@@ -0,0 +1,21 @@
+<tr>
+ <th>
+ {{ list.name }}
+ {% if list.moderated %}
+ <span class="label label-warning pull-right" title="This list is moderated"><span class="fa fa-fw fa-lock"></span></span>
+ {% endif %}
+ </th>
+ <td>
+ {{ list.description }}
+ {% if list.moderators %}
+ <br><small>Moderators: {{ list.moderators | join:', '}}</small>
+ {% endif %}
+ </td>
+ <td class="ml-actions hidden-xs">
+ <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 }}+subscribe@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>
+ </td>
+</tr> \ No newline at end of file