blob: c6c70c75b4f93ec54580244f3302ebac0ac7eb01 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
{% extends "base.html" %}
{% load url from future %}
{% load gravatar %}
{% load hk_generic %}
{% block title %}
{{ list_title }} - {{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }}
{% endblock %}
{% block content %}
<div class="row-fluid">
{% include 'threads/month_list.html' %}
<div id="thread-list" class="span8">
<div class="thread-list-header page-header">
<a href="{% url "message_new" mlist_fqdn=mlist.name %}"
class="thread-new btn{% if not user.is_authenticated %} disabled" title="You must be logged-in to create a thread.{% endif %}"
><strong>+</strong> Start a new thread</a>
<h1>{{ mlist.display_name|default:mlist.name|escapeemail }}
<small>{{ list_title }}</small>
</h1>
<ul class="thread-list-info">
{% if mlist.display_name %}
<li class="list-address">
{{ mlist.name|escapeemail }}
</li>
{% endif %}
<li class="participant">
{{ participants }} participants
</li>
<li class="discussion">
{{ threads.paginator.count }} discussions
</li>
</ul>
</div>
{% for thread in threads %}
{% include "threads/summary_thread_large.html" %}
{% empty %}
<p>Sorry no email threads could be found {{ no_results_text }}.</p>
{% endfor %}
{% include "paginator.html" with pager=threads %}
</div>
</div>
{% endblock %}
{% block additionaljs %}
<script>
$(document).ready(function() {
$('span.expander').expander({
slicePoint: 500,
userCollapseText : '\n[View Less]',
expandText : '\n[View More]',
beforeExpand: function() {
$(this).removeClass("collapsed");
$(this).addClass("expanded");
},
onCollapse: function() {
$(this).removeClass("expanded");
$(this).addClass("collapsed");
}
});
setup_category();
});
</script>
{% endblock %}
|