diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2013-06-12 19:34:38 +0200 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2013-06-12 19:34:38 +0200 |
| commit | a195f1b150d2b17cdefd64038528b53035d585f7 (patch) | |
| tree | 24631dfe458c691636dd9e4c37b5c104c120ff80 /hyperkitty/templates/recent_activities.html | |
| parent | e5c785c29f2af0f9978814f7a34132388c44045d (diff) | |
| download | hyperkitty-a195f1b150d2b17cdefd64038528b53035d585f7.tar.gz hyperkitty-a195f1b150d2b17cdefd64038528b53035d585f7.tar.xz hyperkitty-a195f1b150d2b17cdefd64038528b53035d585f7.zip | |
Use spaces instead of tabs in the templates
Diffstat (limited to 'hyperkitty/templates/recent_activities.html')
| -rw-r--r-- | hyperkitty/templates/recent_activities.html | 198 |
1 files changed, 98 insertions, 100 deletions
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html index 925b076..5b175d6 100644 --- a/hyperkitty/templates/recent_activities.html +++ b/hyperkitty/templates/recent_activities.html @@ -17,96 +17,96 @@ {% 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" /> - </section> - - <p class="thread-new"> - <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> - </p> - - <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> + <section id="recent_activities" class="span10"> + + <section id="graph"> + <h2>Activities on the list over the last 30 days</h2> + <div id="fig" /> + </section> + + <p class="thread-new"> + <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> + </p> + + <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> @@ -115,16 +115,14 @@ {% block additionaljs %} <script type="text/javascript" > - $(function() { - activity_graph( - "#fig", - ["{{days|join:'","'}}"], - {{evolution}}, - "{{ archives_baseurl }}" - ) - }); + $(function() { + activity_graph( + "#fig", + ["{{days|join:'","'}}"], + {{evolution}}, + "{{ archives_baseurl }}" + ) + }); </script> {% endblock %} - -{# vim: set noet: #} |
