summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/summary_thread.html
blob: e9b2b1f2f62b91a1040d27fdc3711eb6a2ef0648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% load url from future %}
{% load hk_generic %}
{% load storm %}

        <div class="thread">
            <span class="thread-title">
		{% if counter %}<span class="thread-id">#{{counter}}</span>{% endif %}
		<a name="{{thread.thread_id}}"
                href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
                >
		{% if thread.category %}
                    <span class="label category" style="background-color:{{thread.category.color}}">
                        {{ thread.category.name|upper }}
                    </span>
		{% endif %}
		{% if thread.unread %}
                    <i class="unread icon-eye-close" title="New messages in this thread"></i>
                {% endif %}
		{{ thread.subject|strip_subject:mlist }}</a>
            </span>
            <div class="thread-stats">
                <ul class="inline-block">
                    <li class="participant">
                        {{ thread.participants|length }}
                    </li>
                    <li class="discussion">
                        {{ thread.length }}
                    </li>
                    <span class="likestatus {{ thread.likestatus }}">+{{ thread.likes }}/-{{ thread.dislikes }}</span>
                </ul>
            </div>
        </div>