From a195f1b150d2b17cdefd64038528b53035d585f7 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 12 Jun 2013 19:34:38 +0200 Subject: Use spaces instead of tabs in the templates --- hyperkitty/templates/404.html | 64 +++---- hyperkitty/templates/500.html | 64 +++---- hyperkitty/templates/ajax/last_views.html | 80 ++++---- hyperkitty/templates/ajax/replies.html | 18 +- hyperkitty/templates/ajax/temp_message.html | 54 +++--- hyperkitty/templates/api.html | 134 +++++++------ hyperkitty/templates/base.html | 198 ++++++++++---------- hyperkitty/templates/index.html | 34 ++-- hyperkitty/templates/login.html | 138 +++++++------- hyperkitty/templates/message.html | 24 ++- hyperkitty/templates/message_new.html | 54 +++--- hyperkitty/templates/messages/like_form.html | 36 ++-- hyperkitty/templates/messages/message.html | 120 ++++++------ hyperkitty/templates/messages/reply_form.html | 46 +++-- hyperkitty/templates/messages/summary_message.html | 62 +++--- hyperkitty/templates/paginator.html | 58 +++--- hyperkitty/templates/recent_activities.html | 198 ++++++++++---------- hyperkitty/templates/register.html | 16 +- hyperkitty/templates/search_results.html | 114 ++++++----- hyperkitty/templates/thread.html | 118 ++++++------ hyperkitty/templates/thread_list.html | 60 +++--- hyperkitty/templates/threads/month_list.html | 24 ++- hyperkitty/templates/threads/right_col.html | 124 ++++++------ hyperkitty/templates/threads/summary_thread.html | 68 ++++--- .../templates/threads/summary_thread_large.html | 116 ++++++------ hyperkitty/templates/threads/tags.html | 24 ++- hyperkitty/templates/user_profile.html | 208 ++++++++++----------- 27 files changed, 1100 insertions(+), 1154 deletions(-) (limited to 'hyperkitty') diff --git a/hyperkitty/templates/404.html b/hyperkitty/templates/404.html index 232ca97..e4ff067 100644 --- a/hyperkitty/templates/404.html +++ b/hyperkitty/templates/404.html @@ -2,39 +2,37 @@ {% load url from future %} {% load i18n %} {% block content %} - + -
-
- 404 -

- Oh! Snap -

- I can't find this page. - Back home -
-
+
+
+ 404 +

+ Oh! Snap +

+ I can't find this page. + Back home +
+
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/500.html b/hyperkitty/templates/500.html index f0cbefe..d1ca064 100644 --- a/hyperkitty/templates/500.html +++ b/hyperkitty/templates/500.html @@ -7,39 +7,37 @@ Error ! - {{ app_name|title }} {% endblock %} {% block content %} - + -
-
- 500 -

- Oh! Snap -

- There's been an error somewhere, sorry. - Back home -
-
+
+
+ 500 +

+ Oh! Snap +

+ There's been an error somewhere, sorry. + Back home +
+
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/ajax/last_views.html b/hyperkitty/templates/ajax/last_views.html index aeea651..a3e1786 100644 --- a/hyperkitty/templates/ajax/last_views.html +++ b/hyperkitty/templates/ajax/last_views.html @@ -2,44 +2,42 @@ {% load i18n %} {% load hk_generic %} - {% if last_views %} - - - - - - - - - - - - - {% for lv in last_views %} - - - - - - - - - {% endfor %} - -
SubjectOriginal authorStart dateLast activityReplies
- {% if thread.unread %} - - {% endif %} - {{ lv.thread.starting_email.subject }}{{ lv.thread.starting_email.sender_name }}{{ lv.thread.starting_email|get_date|date:"l, j F Y H:i:s" }}{{ lv.thread|get_date|timesince }} - {{ lv.thread|length }} - {% if thread.unread %} - / {{ thread.unread }} new - {% endif %} -
- {% include "paginator.html" with pager=last_views page_key="lvpage" %} - {% else %} -

Nothing read yet.

- {% endif %} - -{# vim: set noet: #} + {% if last_views %} + + + + + + + + + + + + + {% for lv in last_views %} + + + + + + + + + {% endfor %} + +
SubjectOriginal authorStart dateLast activityReplies
+ {% if thread.unread %} + + {% endif %} + {{ lv.thread.starting_email.subject }}{{ lv.thread.starting_email.sender_name }}{{ lv.thread.starting_email|get_date|date:"l, j F Y H:i:s" }}{{ lv.thread|get_date|timesince }} + {{ lv.thread|length }} + {% if thread.unread %} + / {{ thread.unread }} new + {% endif %} +
+ {% include "paginator.html" with pager=last_views page_key="lvpage" %} + {% else %} +

Nothing read yet.

+ {% endif %} diff --git a/hyperkitty/templates/ajax/replies.html b/hyperkitty/templates/ajax/replies.html index 7b6fc70..bf13c9a 100644 --- a/hyperkitty/templates/ajax/replies.html +++ b/hyperkitty/templates/ajax/replies.html @@ -1,13 +1,11 @@ {% load url from future %} {% load hk_generic %} - {% for email in replies %} -
- - {% include 'messages/message.html' %} - -
- {% endfor %} - -{# vim: set noet: #} + {% for email in replies %} +
+ + {% include 'messages/message.html' %} + +
+ {% endfor %} diff --git a/hyperkitty/templates/ajax/temp_message.html b/hyperkitty/templates/ajax/temp_message.html index f518114..5b84b51 100644 --- a/hyperkitty/templates/ajax/temp_message.html +++ b/hyperkitty/templates/ajax/temp_message.html @@ -3,36 +3,34 @@ {% load hk_generic %}
- - +
- -{# vim: set noet: #} diff --git a/hyperkitty/templates/api.html b/hyperkitty/templates/api.html index 537ada2..750c69b 100644 --- a/hyperkitty/templates/api.html +++ b/hyperkitty/templates/api.html @@ -2,82 +2,80 @@ {% load url from future %} {% block content %} -

REST API

-

- HyperKitty comes with a small REST API allowing you to programatically retrieve - emails and information. -

+

REST API

+

+ HyperKitty comes with a small REST API allowing you to programatically retrieve + emails and information. +

-
-

Formats

-

- This REST API can return the information into several formats. - The default format is html to allow human readibility.
- To change the format, just add - ?format=<FORMAT> to the url -

-

The list of available formats is:

- -
+
+

Formats

+

+ This REST API can return the information into several formats. + The default format is html to allow human readibility.
+ To change the format, just add + ?format=<FORMAT> to the url +

+

The list of available formats is:

+ +
-
-

Lists /api/list/

-

+

+

Lists /api/list/

+

Using the address /api/list/ you will be able to retrieve the information known about all the mailing-lists. -

-

For example: - {% url 'api_list' %} - -

-
- +
+

Emails /api/email/<list name>/<Message-ID>

+

Using the address /api/email/<list name>/<Message-ID> you will be able to retrieve the information known about a specific email on the specified mailing-list. -

-

For example: - {% url 'api_email' mlist_fqdn='devel@fp.o' messageid='13129854572893334' %} - -

-
- +
+

Threads /api/thread/<list name>/<ThreadID>

+

Using the address /api/thread/<list name>/<Message-ID> you will be able to retrieve the all the email for a specific thread on the specified mailing-list. -

-

For example: - {% url 'api_thread' mlist_fqdn='devel@fp.o' threadid='13129854572893334' %} - -

-
- +
+

Search /api/search/<list name>/<field>/<keyword>

+

Using the address /api/search/<list name>/<field>/<keyword> you will be able to search for all emails of the specified mailing-list containing the provided keyword in the given field. -

-

The list of available field is:

-
    -
  • From
  • -
  • Subject
  • -
  • Content
  • -
  • SubjectContent
  • -
-

For example: - {% url 'api_search' mlist_fqdn='devel@fp.o' field='From' keyword='pingoured' %} - -

-
+

+

The list of available field is:

+ +

For example: + {% url 'api_search' mlist_fqdn='devel@fp.o' field='From' keyword='pingoured' %} + +

+
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 011e790..4a36641 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -2,104 +2,102 @@ {% load assets %} - - - - {% block title %}{{ app_name|title }}{% endblock %} - - - - - {% assets filters="cssrewrite,cssmin", output="gen/hyperkitty.css", "libs/bootstrap/css/bootstrap.min.css", "css/hyperkitty-base.css", "css/hyperkitty-common.css", "css/hyperkitty-index.css", "css/hyperkitty-user.css", "css/hyperkitty-overview.css", "css/hyperkitty-threadslist.css", "css/hyperkitty-message.css" %} - - {% endassets %} - {% block additional_stylesheets %} {% endblock %} - - {% load i18n %} - - -
-
- -
- - {% if flash_messages %} -
- {% for flash_msg in flash_messages %} -
-
- {% if flash_msg.type != "success" %} - - {% endif %} - {{ flash_msg.msg }} -
-
- {% endfor %} -
- {% endif %} - - {% block content %} {% endblock %} - - {% block footer %} {% endblock %} - -
- - - - {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "libs/jquery.hotkeys.js", "js/hyperkitty.js" %} - - {% endassets %} - {% block additionaljs %} {% endblock %} - - + + + + {% block title %}{{ app_name|title }}{% endblock %} + + + + + {% assets filters="cssrewrite,cssmin", output="gen/hyperkitty.css", "libs/bootstrap/css/bootstrap.min.css", "css/hyperkitty-base.css", "css/hyperkitty-common.css", "css/hyperkitty-index.css", "css/hyperkitty-user.css", "css/hyperkitty-overview.css", "css/hyperkitty-threadslist.css", "css/hyperkitty-message.css" %} + + {% endassets %} + {% block additional_stylesheets %} {% endblock %} + + {% load i18n %} + + +
+
+ +
+ + {% if flash_messages %} +
+ {% for flash_msg in flash_messages %} +
+
+ {% if flash_msg.type != "success" %} + + {% endif %} + {{ flash_msg.msg }} +
+
+ {% endfor %} +
+ {% endif %} + + {% block content %} {% endblock %} + + {% block footer %} {% endblock %} + +
+ + + + {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "libs/jquery.hotkeys.js", "js/hyperkitty.js" %} + + {% endassets %} + {% block additionaljs %} {% endblock %} + + - -{# vim: set noet: #} diff --git a/hyperkitty/templates/index.html b/hyperkitty/templates/index.html index 85d051e..181edb2 100644 --- a/hyperkitty/templates/index.html +++ b/hyperkitty/templates/index.html @@ -16,18 +16,18 @@
{% for mlist in all_lists %} {% if forloop.counter|divisibleby:"4" %}
@@ -47,12 +47,10 @@ {% block additionaljs %} {% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/login.html b/hyperkitty/templates/login.html index 97bac12..248ee18 100644 --- a/hyperkitty/templates/login.html +++ b/hyperkitty/templates/login.html @@ -15,38 +15,38 @@

Login with your email

@@ -55,13 +55,13 @@
- {% csrf_token %} - {{ form|crispy }} -
-
- -
-
+ {% csrf_token %} + {{ form|crispy }} +
+
+ +
+
{% endif %} @@ -75,40 +75,38 @@ {% endblock additionaljs %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html index f542752..5f9bc73 100644 --- a/hyperkitty/templates/message.html +++ b/hyperkitty/templates/message.html @@ -15,23 +15,21 @@ {% include 'threads/month_list.html' %} -
+
-
- - {# the background image will be a "back to thread" button #} -

{{ message.subject }}

-
+
+ + {# the background image will be a "back to thread" button #} +

{{ message.subject }}

+
-
- {% include 'messages/message.html' with email=message unfolded='True' %} -
+
+ {% include 'messages/message.html' with email=message unfolded='True' %} +
-
+
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/message_new.html b/hyperkitty/templates/message_new.html index 7f10e77..25e7c03 100644 --- a/hyperkitty/templates/message_new.html +++ b/hyperkitty/templates/message_new.html @@ -16,35 +16,33 @@ Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} - {% include 'threads/month_list.html' %} -
- -
-

Create a new thread

-
- - {% if failure %} -
- - {{ failure }} -
- {% endif %} - -
-
- {% csrf_token %} - {{ post_form|crispy }} -

- - or cancel -

-
-
- -
+
+ +
+

Create a new thread

+
+ + {% if failure %} +
+ + {{ failure }} +
+ {% endif %} + +
+
+ {% csrf_token %} + {{ post_form|crispy }} +

+ + or cancel +

+
+
+ +
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/messages/like_form.html b/hyperkitty/templates/messages/like_form.html index c499f4f..115373f 100644 --- a/hyperkitty/templates/messages/like_form.html +++ b/hyperkitty/templates/messages/like_form.html @@ -1,21 +1,19 @@ {% load url from future %} -
- {% csrf_token %} - +{{ object.likes }}/-{{ object.dislikes }} - {% if object.myvote == 1 %} - You like it - (cancel) - {% elif object.myvote == -1 %} - You dislike it - (cancel) - {% else %} - Like - Dislike - {% endif %} -
- -{# vim: set noet: #} +
+ {% csrf_token %} + +{{ object.likes }}/-{{ object.dislikes }} + {% if object.myvote == 1 %} + You like it + (cancel) + {% elif object.myvote == -1 %} + You dislike it + (cancel) + {% else %} + Like + Dislike + {% endif %} +
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 0676dd8..2cfcdf8 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -7,69 +7,67 @@ {% is_message_new email.date as is_new %}
- + - + - {% if unfolded and email.attachments|count %} -
-

Attachments:

-
    - {% for attachment in email.attachments %} -
  • {{attachment.name}} - ({{attachment.content_type}} — {{attachment.size|filesizeformat}}) -
  • - {% endfor %} -
-
- {% endif %} + {% if unfolded and email.attachments|count %} +
+

Attachments:

+
    + {% for attachment in email.attachments %} +
  • {{attachment.name}} + ({{attachment.content_type}} — {{attachment.size|filesizeformat}}) +
  • + {% endfor %} +
+
+ {% endif %} - +
- -{# vim: set noet: #} diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html index b0a810d..44dcc3a 100644 --- a/hyperkitty/templates/messages/reply_form.html +++ b/hyperkitty/templates/messages/reply_form.html @@ -1,26 +1,24 @@ {% load url from future %} - Reply - - -{# vim: set noet: #} + Reply + diff --git a/hyperkitty/templates/messages/summary_message.html b/hyperkitty/templates/messages/summary_message.html index 6e14777..1acf07a 100644 --- a/hyperkitty/templates/messages/summary_message.html +++ b/hyperkitty/templates/messages/summary_message.html @@ -3,35 +3,33 @@ {% load hk_generic %} {% load storm %} -
-
- - {{ message.subject|strip_subject:mlist }} - {{ message|get_date|timesince }} -
-
-
- {% if message.sender_email %} - {% gravatar message.sender_email 40 %} -
- {% endif %} - {{ message.sender_name|escapeemail }} -
-
- -
-
-
-
-
- {% include "messages/like_form.html" with message_id_hash=message.message_id_hash object=message %} - Show message -
-
- -{# vim: set noet: #} +
+
+ + {{ message.subject|strip_subject:mlist }} + {{ message|get_date|timesince }} +
+
+
+ {% if message.sender_email %} + {% gravatar message.sender_email 40 %} +
+ {% endif %} + {{ message.sender_name|escapeemail }} +
+
+ +
+
+
+
+
+ {% include "messages/like_form.html" with message_id_hash=message.message_id_hash object=message %} + Show message +
+
diff --git a/hyperkitty/templates/paginator.html b/hyperkitty/templates/paginator.html index efbce86..a4f0d3d 100644 --- a/hyperkitty/templates/paginator.html +++ b/hyperkitty/templates/paginator.html @@ -3,37 +3,35 @@ - -{# vim: set noet: #} 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' %} -
- -
-

Activities on the list over the last 30 days

-
-
- -

- + Start a new thread -

- -
- -
-
-

Recently active discussions

- {% for thread in most_active_threads %} - {% include "threads/summary_thread.html" with counter=forloop.counter %} - {% endfor %} -
-
- -
-
-

Top discussions the last 30 days

- {% for thread in top_threads %} - {% include "threads/summary_thread.html" with counter=forloop.counter %} - {% endfor %} -
-
- -
-
- -
- {% if top_author %} -
-

Prominent discussion maker

- {% for author in top_author %} - -
-
- #{{forloop.counter}} -
-
- {% if author.email %} - {% gravatar author.email 40 %} -
- {% endif %} -
-
- {{author.name}} -
- +{{author.kudos}} kudos -
-
- - {% endfor %} - -

Tag cloud

-
- {% endif %} -
- - -
- {% if threads_per_category %} -
-

Discussion by topic the last 30 days

- {% for category, thread in threads_per_category.items %} -
-

{{category}}

-
    - {% for email in thread %} -
  • - {{email.title}} -
  • - {% endfor %} -
-
- {% endfor %} -
- {% endif %} -
- -
- -
+
+ +
+

Activities on the list over the last 30 days

+
+
+ +

+ + Start a new thread +

+ +
+ +
+
+

Recently active discussions

+ {% for thread in most_active_threads %} + {% include "threads/summary_thread.html" with counter=forloop.counter %} + {% endfor %} +
+
+ +
+
+

Top discussions the last 30 days

+ {% for thread in top_threads %} + {% include "threads/summary_thread.html" with counter=forloop.counter %} + {% endfor %} +
+
+ +
+
+ +
+ {% if top_author %} +
+

Prominent discussion maker

+ {% for author in top_author %} + +
+
+ #{{forloop.counter}} +
+
+ {% if author.email %} + {% gravatar author.email 40 %} +
+ {% endif %} +
+
+ {{author.name}} +
+ +{{author.kudos}} kudos +
+
+ + {% endfor %} + +

Tag cloud

+
+ {% endif %} +
+ + +
+ {% if threads_per_category %} +
+

Discussion by topic the last 30 days

+ {% for category, thread in threads_per_category.items %} +
+

{{category}}

+
    + {% for email in thread %} +
  • + {{email.title}} +
  • + {% endfor %} +
+
+ {% endfor %} +
+ {% endif %} +
+ +
+ +
@@ -115,16 +115,14 @@ {% block additionaljs %} {% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/register.html b/hyperkitty/templates/register.html index 71d4d6a..2be9a95 100644 --- a/hyperkitty/templates/register.html +++ b/hyperkitty/templates/register.html @@ -14,17 +14,15 @@

Register

- {% csrf_token %} - {{ form|crispy }} -
-
- -
-
+ {% csrf_token %} + {{ form|crispy }} +
+
+ +
+
{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/search_results.html b/hyperkitty/templates/search_results.html index f86280a..45d8e29 100644 --- a/hyperkitty/templates/search_results.html +++ b/hyperkitty/templates/search_results.html @@ -14,62 +14,62 @@ Search results for "{{ query }}"{% if mlist %} - {{ mlist.display_name|default:m {% include 'threads/month_list.html' %} -
- - - - - {% for message in messages %} - {% include "messages/summary_message.html" %} - {% empty %} -

Sorry no email could be found for this query.

- {% endfor %} - - {% include "paginator.html" with pager=messages notbydate=True %} - -
+
+ + + + + {% for message in messages %} + {% include "messages/summary_message.html" %} + {% empty %} +

Sorry no email could be found for this query.

+ {% endfor %} + + {% include "paginator.html" with pager=messages notbydate=True %} + +
@@ -94,5 +94,3 @@ $(document).ready(function() { }); {% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index e8b8139..44a0a5b 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -16,57 +16,57 @@ {% include 'threads/month_list.html' %} -
- -
- {% for thread in neighbors %} - {% if thread %} - {{ thread.subject|strip_subject:mlist|truncatesmart:"22" }} - {% endif %} - {% endfor %} -

{{ subject }}

-
- -
- -
- -
- - - {% include 'messages/message.html' with email=first_mail unfolded='True' %} - - -

- {% if sort_mode == "date" %} - Show replies by thread - {% else %} - Show replies by date - {% endif %} -

- -
- {% if is_bot %} - {% include 'ajax/replies.html' %} - {% else %} - Loading... - {% endif %} -
- -
-
- -
- {% include 'threads/right_col.html' %} -
- -
- -
+
+ +
+ {% for thread in neighbors %} + {% if thread %} + {{ thread.subject|strip_subject:mlist|truncatesmart:"22" }} + {% endif %} + {% endfor %} +

{{ subject }}

+
+ +
+ +
+ +
+ + + {% include 'messages/message.html' with email=first_mail unfolded='True' %} + + +

+ {% if sort_mode == "date" %} + Show replies by thread + {% else %} + Show replies by date + {% endif %} +

+ +
+ {% if is_bot %} + {% include 'ajax/replies.html' %} + {% else %} + Loading... + {% endif %} +
+ +
+
+ +
+ {% include 'threads/right_col.html' %} +
+ +
+ +
@@ -76,15 +76,13 @@ {% block additionaljs %} {% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/thread_list.html b/hyperkitty/templates/thread_list.html index d31b02f..32bbdfe 100644 --- a/hyperkitty/templates/thread_list.html +++ b/hyperkitty/templates/thread_list.html @@ -14,39 +14,39 @@ {% include 'threads/month_list.html' %} -
+
- + - {% for thread in threads %} - {% include "threads/summary_thread_large.html" %} - {% empty %} -

Sorry no email threads could be found {{ no_results_text }}.

- {% endfor %} + {% for thread in threads %} + {% include "threads/summary_thread_large.html" %} + {% empty %} +

Sorry no email threads could be found {{ no_results_text }}.

+ {% endfor %} - {% include "paginator.html" with pager=threads %} + {% include "paginator.html" with pager=threads %} -
+
@@ -71,5 +71,3 @@ $(document).ready(function() { }); {% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/threads/month_list.html b/hyperkitty/templates/threads/month_list.html index 1d8f381..69f6d81 100644 --- a/hyperkitty/templates/threads/month_list.html +++ b/hyperkitty/templates/threads/month_list.html @@ -2,17 +2,15 @@ {% load hk_generic %}
- {% for year, months in months_list|sort %} -

{{ year }}

- - {% endfor %} + {% for year, months in months_list|sort %} +

{{ year }}

+ + {% endfor %}
- -{# vim: set noet: #} diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 76ed853..afbef7f 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -4,72 +4,70 @@
- -
-
- {{ days_inactive }} -
-
- days -
- inactive -
-
- {{ days_old }} -
-
- days -
- old -
-
- -
- {% csrf_token %} - -

- Add to favorite discussions - Remove from favorite discussions -

-
-

- {% if user.is_authenticated %} - {{ unread_count }} unread messages - {% endif %} -

-
- {% include 'threads/tags.html' %} -
-
-
- {% csrf_token %} - {{ addtag_form.as_p }} -
-
-
- participants ({{participants|length}}) -
    - {% for name, email in participants %} -
  • - {% gravatar email 20 %} - {{ name|escapeemail }} -
  • - {% endfor %} -
-
+ +
+
+ {{ days_inactive }} +
+
+ days +
+ inactive +
+
+ {{ days_old }} +
+
+ days +
+ old +
+
+ +
+ {% csrf_token %} + +

+ Add to favorite discussions + Remove from favorite discussions +

+
+

+ {% if user.is_authenticated %} + {{ unread_count }} unread messages + {% endif %} +

+
+ {% include 'threads/tags.html' %} +
+
+
+ {% csrf_token %} + {{ addtag_form.as_p }} +
+
+
+ participants ({{participants|length}}) +
    + {% for name, email in participants %} +
  • + {% gravatar email 20 %} + {{ name|escapeemail }} +
  • + {% endfor %} +
+
{% if user.is_authenticated %}
-
- Unreads: 0/{{unread_count}} -   - Go to: next ↓ - - prev ↑ -
+
+ Unreads: 0/{{unread_count}} +   + Go to: next ↓ + - prev ↑ +
{% endif %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html index c201b36..cb26ffe 100644 --- a/hyperkitty/templates/threads/summary_thread.html +++ b/hyperkitty/templates/threads/summary_thread.html @@ -2,38 +2,36 @@ {% load hk_generic %} {% load storm %} -
- #{{counter}} - {{ thread.subject|strip_subject:mlist }} -
-
    - {% if thread.category_tag %} -
  • - {{thread.category}} -
  • - {% endif %} - {% if thread.category %} -
  • - {{thread.category}} -
  • - {% endif %} - {% if use_mockups %} -
  • - +0/-0 -
  • - {% endif %} -
  • - {{ thread.participants|length }} -
  • -
  • - {{ thread.length }} -
  • -
-
-
- -{# vim: set noet: #} +
+ #{{counter}} + {{ thread.subject|strip_subject:mlist }} +
+
    + {% if thread.category_tag %} +
  • + {{thread.category}} +
  • + {% endif %} + {% if thread.category %} +
  • + {{thread.category}} +
  • + {% endif %} + {% if use_mockups %} +
  • + +0/-0 +
  • + {% endif %} +
  • + {{ thread.participants|length }} +
  • +
  • + {{ thread.length }} +
  • +
+
+
diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html index 70dcd7f..66bff39 100644 --- a/hyperkitty/templates/threads/summary_thread_large.html +++ b/hyperkitty/templates/threads/summary_thread_large.html @@ -3,62 +3,60 @@ {% load hk_generic %} {% load storm %} -
-
- - {% if thread.unread %} - - {% endif %} - {{ thread.starting_email.subject|strip_subject:mlist }} - {{ thread|get_date|timesince }} -
-
- {% if thread.category_tag %} - - {% endif %} - {% if thread.category %} - - {% endif %} -
- {% if thread.starting_email.sender_email %} - {% gravatar thread.starting_email.sender_email 40 %} -
- {% endif %} - {{ thread.starting_email.sender_name|escapeemail }} -
-
- -
-
-
-
- {% if thread.tags|length %} - Tags: -
    - {% for tag in thread.tags %} -
  • - {{tag.tag}} -
  • - {% endfor %} -
- {% endif %} -
- {{ thread.participants|length }} participants - {{ thread|length }} comments - {% include "messages/like_form.html" with message_id_hash=thread.starting_email.message_id_hash object=thread %} - Show discussion -
-
- -{# vim: set noet: #} +
+
+ + {% if thread.unread %} + + {% endif %} + {{ thread.starting_email.subject|strip_subject:mlist }} + {{ thread|get_date|timesince }} +
+
+ {% if thread.category_tag %} + + {% endif %} + {% if thread.category %} + + {% endif %} +
+ {% if thread.starting_email.sender_email %} + {% gravatar thread.starting_email.sender_email 40 %} +
+ {% endif %} + {{ thread.starting_email.sender_name|escapeemail }} +
+
+ +
+
+
+
+ {% if thread.tags|length %} + Tags: +
    + {% for tag in thread.tags %} +
  • + {{tag.tag}} +
  • + {% endfor %} +
+ {% endif %} +
+ {{ thread.participants|length }} participants + {{ thread|length }} comments + {% include "messages/like_form.html" with message_id_hash=thread.starting_email.message_id_hash object=thread %} + Show discussion +
+
diff --git a/hyperkitty/templates/threads/tags.html b/hyperkitty/templates/threads/tags.html index bafcc60..236e4c4 100644 --- a/hyperkitty/templates/threads/tags.html +++ b/hyperkitty/templates/threads/tags.html @@ -1,15 +1,13 @@ {% load url from future %} - tags ({{tags|length}}) - {% if tags|length %} - - {% endif %} - -{# vim: set noet: #} + tags ({{tags|length}}) + {% if tags|length %} + + {% endif %} diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html index 69c2ad7..a057fe2 100644 --- a/hyperkitty/templates/user_profile.html +++ b/hyperkitty/templates/user_profile.html @@ -13,105 +13,105 @@
-

User profile for {{ user }}

- -
- {% csrf_token %} - - - - - - - {{ form.as_table }} - - - - - {% if use_mockups %} - - - - - {% endif %} - - - - - -
{% trans 'User name:' %}{{ user.username}}
{% trans 'Email:' %}{{ user.email }}
{% trans 'Karma:' %}{{ user_profile.karma }}
{% trans 'Date joined:' %}{{ user.date_joined }}
-

- - or cancel -

-
- - - -
- -

Favorites

- {% if favorites %} - - {% else %} -

No favorite yet.

- {% endif %} - - -

Threads you have read

- Loading... -
- - -

Votes

-

Up Votes

- {% if votes_up %} - - {% else %} -

No up vote yet.

- {% endif %} - -

Down Votes

- {% if votes_down %} - - {% else %} -

No down vote yet.

- {% endif %} +

User profile for {{ user }}

+ +
+ {% csrf_token %} + + + + + + + {{ form.as_table }} + + + + + {% if use_mockups %} + + + + + {% endif %} + + + + + +
{% trans 'User name:' %}{{ user.username}}
{% trans 'Email:' %}{{ user.email }}
{% trans 'Karma:' %}{{ user_profile.karma }}
{% trans 'Date joined:' %}{{ user.date_joined }}
+

+ + or cancel +

+
+ + + +
+ +

Favorites

+ {% if favorites %} + + {% else %} +

No favorite yet.

+ {% endif %} + + +

Threads you have read

+ Loading... +
+ + +

Votes

+

Up Votes

+ {% if votes_up %} + + {% else %} +

No up vote yet.

+ {% endif %} + +

Down Votes

+ {% if votes_down %} + + {% else %} +

No down vote yet.

+ {% endif %}
@@ -120,12 +120,10 @@ {% block additionaljs %} {% endblock %} - -{# vim: set noet: #} -- cgit