summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/summary_thread.html
blob: 82c9398aa3041929ae6894b964dc0fa8731944fc (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
{% load url from future %}
{% load hk_generic %}
{% load storm %}

        <div class="thread">
            {% if counter %}<span class="thread-id">#{{counter}}</span>{% endif %}
            <span class="thread-title"><a name="{{thread.thread_id}}"
                href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
                >{{ thread.subject|strip_subject:mlist }}</a></span>
            <div class="thread-stats">
                <ul class="inline-block">
                    {% if thread.category %}
                    <span class="label category" style="background-color:{{thread.category.color}}">
                        {{ thread.category.name|upper }}
                    </span>
                    {% endif %}
                    <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>