summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/recent_activities.html52
1 files changed, 42 insertions, 10 deletions
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 5b175d6..fb22d92 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -33,8 +33,8 @@
<div class="row-fluid">
<div class="span6">
- <section id="most-active">
- <h2>Recently active discussions</h2>
+ <section id="most-active" class="widget">
+ <h3>Recently active discussions</h3>
{% for thread in most_active_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
{% endfor %}
@@ -42,8 +42,8 @@
</div>
<div class="span6">
- <section id="top-discussion">
- <h2>Top discussions the last 30 days</h2>
+ <section id="top-discussion" class="widget">
+ <h3>Most active discussions</h3>
{% for thread in top_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
{% endfor %}
@@ -51,12 +51,44 @@
</div>
</div>
+
<div class="row-fluid">
+ <div class="span6">
+ <section id="discussion-maker" class="widget">
+ <h3>Most active posters</h3>
+ {% for poster in top_posters %}
+ <div class="maker">
+ <div class="inline-block maker-id">
+ #{{forloop.counter}}
+ </div>
+ <div class="inline-block gravatar">
+ {% gravatar poster.email 40 %}
+ <br />
+ </div>
+ <div class="inline-block">
+ <span class="maker-name">{{ poster.name }}</span>
+ <br />
+ <span class="score">{{ poster.count }}</span> posts
+ </div>
+ </div>
+ {% endfor %}
+ </section>
+ </div>
+ <div class="span6">
+ <section id="popular-threads" class="widget">
+ <h3>Most popular discussions</h3>
+ {% for thread in pop_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>
+ <section id="discussion-maker" class="widget">
+ <h3>Prominent discussion maker</h3>
{% for author in top_author %}
<!-- Start discussion maker -->
<div class="maker">
@@ -78,7 +110,7 @@
<!-- End discussion maker -->
{% endfor %}
- <h2>Tag cloud</h2>
+ <h3>Tag cloud</h3>
</section>
{% endif %}
</div>
@@ -86,11 +118,11 @@
<div class="span6">
{% if threads_per_category %}
- <section id="discussion-by-topic">
- <h2>Discussion by topic the last 30 days</h2>
+ <section id="discussion-by-topic" class="widget">
+ <h3>Discussion by topic the last 30 days</h3>
{% for category, thread in threads_per_category.items %}
<div>
- <h2 class="category type_{{category}}"> {{category}} </h2>
+ <h3 class="category type_{{category}}"> {{category}} </h3>
<ul class="category_entry">
{% for email in thread %}
<li>