summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/summary_thread.html
blob: 895c5c4dc23b374b2d9d0cd5d15aa1c1ebd47c92 (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_widget %}
                    <span class="label category" style="background-color:{{thread.category_widget.color}}">
                        {{ thread.category_widget.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_count }}
                    </li>
                    <li class="discussion">
                        {{ thread|length }}
                    </li>
                    <span class="likestatus {{ thread.likestatus }}">+{{ thread.likes }}/-{{ thread.dislikes }}</span>
                </ul>
            </div>
        </div>