diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/superarchives/thread-dashboard.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/superarchives/thread-dashboard.html new file mode 100644 index 0000000..0248ea1 --- /dev/null +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/superarchives/thread-dashboard.html @@ -0,0 +1,101 @@ +{% extends 'base.html' %} +{% load i18n %} + +{% block title %}Listas de discussão{% endblock %} + +{% block main-content %} +
+

Listas de discussão

+
+ + {% for mailinglist in lists %} + {% if mailinglist.get_latest or mailinglist.get_most_relevant %} +

{{ mailinglist.name|title|lower }} {% if mailinglist.description %} ({{ mailinglist.description }}){% endif %}

+
+ {% blocktrans with number_of_users=mailinglist.get_number_of_users %}{{ number_of_users }} members{% endblocktrans %} +
+
+ +
+
+

{% trans 'latest'|title %}

+
    + {% for thread in mailinglist.get_latest %} + {% include "message-preview.html" with result=thread.latest_message %} + {% endfor %} +
+ +
+ +
+

{% trans 'most relevant'|title %}

+
    + {% for thread in mailinglist.get_most_relevant %} + {% include "message-preview.html" with result=thread %} + {% endfor %} +
+ +
+
+ + + {% endif %} + {% endfor %} + + {% if page_obj.has_other_pages %} +
+ +
+ {% endif %} +
+{% endblock %} -- libgit2 0.21.2