blob: 0daa6e38408b24c17720c2a7cb5795348af04d37 (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
{% extends "base.html" %}
{% load hk_generic %}
{% load gravatar %}
{% load storm %}
{% block title %}
{{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }}
{% endblock %}
{% block content %}
<div class="row-fluid">
{% include 'threads/month_list.html' %}
<section id="recent_activities" class="span10">
<section id="graph">
<h2>Activities on the list over the last 30 days</h2>
<div id="fig">
<script type="text/javascript+protovis" >
activity_graph(
["{{days|join:'","'}}"],
{{evolution}},
"{% url archives_latest mlist_fqdn=mlist.name %}"
);
</script>
</div>
</section>
<div class="row-fluid">
<div class="span6">
<section id="most_active">
<h2>Recently active discussions</h2>
{% for thread in most_active_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
{% endfor %}
</section>
</div>
<div class="span6">
<section id="top_discussion">
<h2>Top discussions the last 30 days</h2>
{% for thread in top_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
{% endfor %}
</section>
</div>
</div>
<div class="row-fluid">
<div class="span6">
{% if top_author %}
<section id="discussion-maker">
<h2>Prominent discussion maker</h2>
{% for author in top_author %}
<!-- Start discussion maker -->
<div class="maker">
<div class="inline-block maker-id">
#{{forloop.counter}}
</div>
<div class="inline-block gravatar">
{% if author.email %}
{% gravatar author.email 40 %}
<br />
{% endif %}
</div>
<div class="inline-block">
<span class="maker-name">{{author.name}}</span>
<br />
<span class="score">+{{author.kudos}}</span> kudos
</div>
</div>
<!-- End discussion maker -->
{% endfor %}
<h2>Tag cloud</h2>
</section>
{% endif %}
</div>
<div class="span6">
{% if threads_per_category %}
<section id="discussion_by_topic">
<h2>Discussion by topic the last 30 days</h2>
{% for category, thread in threads_per_category.items %}
<div>
<h2 class="category type_{{category}}"> {{category}} </h2>
<ul class="category_entry">
{% for email in thread %}
<li>
{{email.title}}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</section>
{% endif %}
</div>
</div>
</section>
</div>
{% endblock %}
{% block additionaljs %}
<script src="{{ STATIC_URL }}libs/protovis-d3.1.js"></script>
{% endblock %}
{# vim: set noet: #}
|