From 596cf07a0c41a8632284b02f4c9fc27d58d56123 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 5 Oct 2012 15:01:59 +0200 Subject: Improve appearance --- hyperkitty/templates/message.html | 4 ++++ hyperkitty/templates/messages/message.html | 35 +++++++++++++++++++---------- hyperkitty/templates/month_view.html | 3 ++- hyperkitty/templates/recent_activities.html | 5 +++-- hyperkitty/templates/thread.html | 26 ++++++++++++--------- 5 files changed, 47 insertions(+), 26 deletions(-) (limited to 'hyperkitty/templates') diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html index 5d061e5..35c3add 100644 --- a/hyperkitty/templates/message.html +++ b/hyperkitty/templates/message.html @@ -7,6 +7,10 @@ {% block content %} +
+

{{ message.subject }}

+
+
{% include 'messages/first_email.html' with first_mail=message %}
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 08d5cca..c971e16 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -2,17 +2,21 @@ {% load gravatar %}
+ {% gravatar_img_for_email email.email 40 %} -
@@ -24,6 +28,17 @@ {{email.content}} +{% if unfolded and email.attachments|count %} +

Attachments:

+ +{% endif %} + diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index 3dc3db3..fdfd731 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load poll_extras %} {% load gravatar %} +{% load storm %} {% block content %} @@ -10,7 +11,7 @@
{{email.subject}} + href="{% url thread threadid=email.thread_id, mlist_fqdn=list_address %}">{{ email.subject|strip_subject:mlist }} {{email.date}}
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html index 3cbafdf..3b197c8 100644 --- a/hyperkitty/templates/recent_activities.html +++ b/hyperkitty/templates/recent_activities.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load poll_extras %} {% load gravatar %} +{% load storm %} {% block additional_stylesheets %} @@ -85,7 +86,7 @@
#{{forloop.counter}} {{email.subject}} + href="{% url thread threadid=email.thread_id, mlist_fqdn=list_address %}">{{ email.subject|strip_subject:mlist }}
    {% if email.category_tag %} @@ -123,7 +124,7 @@
    #{{forloop.counter}} {{email.subject}} + href="{% url thread threadid=email.thread_id, mlist_fqdn=list_address %}">{{ email.subject|strip_subject:mlist }}
      {% if email.category_tag %} diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index a3d8c8b..78b4891 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -8,6 +8,10 @@ {% block content %} +
      +

      {{ subject }}

      +
      + {% include 'threads/right_col.html' %} @@ -39,7 +43,7 @@ userCollapseText : 'View Less', expandText : 'View More' }); - }); + }); {% endblock %} -- cgit