summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/includes/partials/mailinglist.html')
-rw-r--r--python/templates/includes/partials/mailinglist.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/templates/includes/partials/mailinglist.html b/python/templates/includes/partials/mailinglist.html
new file mode 100644
index 0000000..39a9af1
--- /dev/null
+++ b/python/templates/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