Commit 891e23ae936f9112627f83d636ba683bc4af5280

Authored by Matheus Fernandes
1 parent 317676c5

Fixed thread list message preview

Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
colab/super_archives/templates/superarchives/thread-dashboard.html
... ... @@ -6,7 +6,6 @@
6 6 {% block main-content %}
7 7 <h2>{% trans 'Groups'|title %}</h2>
8 8 <hr/>
9   -
10 9 {% for mailinglist in lists %}
11 10 {% if mailinglist.get_latest or mailinglist.get_most_relevant %}
12 11 <h3><b>{{ mailinglist.name|title|lower }} {% if mailinglist.description %} ({{ mailinglist.description }}){% endif %}</b></h3>
... ... @@ -20,7 +19,7 @@
20 19 <h4>{% trans 'latest'|title %}</h4>
21 20 <ul class="message-list">
22 21 {% for thread in mailinglist.get_latest %}
23   - {% include "message-preview.html" with result=thread.latest_message %}
  22 + {% include "dashboard-message-preview.html" with result=thread.latest_message %}
24 23 {% endfor %}
25 24 </ul>
26 25 <div class="text-right">
... ... @@ -34,7 +33,7 @@
34 33 <h4>{% trans 'most relevant'|title %}</h4>
35 34 <ul class="message-list">
36 35 {% for thread in mailinglist.get_most_relevant %}
37   - {% include "message-preview.html" with result=thread %}
  36 + {% include "dashboard-message-preview.html" with result=thread %}
38 37 {% endfor %}
39 38 </ul>
40 39 <div class="text-right">
... ...