From cd1a2d5f2ec738ab2f17c86dcabe8733a682aa4f Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 4 Oct 2012 12:02:52 +0200 Subject: Improve attachments display --- hyperkitty/templates/message.html | 11 ---------- hyperkitty/templates/messages/message.html | 32 +++++++++++++++++++++++------- hyperkitty/templates/thread.html | 6 +++++- 3 files changed, 30 insertions(+), 19 deletions(-) (limited to 'hyperkitty/templates') diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html index e9f2806..5d061e5 100644 --- a/hyperkitty/templates/message.html +++ b/hyperkitty/templates/message.html @@ -9,17 +9,6 @@
{% include 'messages/first_email.html' with first_mail=message %} - - {% if attachments|length %} -

Attachments

- - {% endif %}
{% endblock %} diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 54613e0..08d5cca 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -1,3 +1,4 @@ +{% load storm %} {% load gravatar %}
@@ -14,18 +15,17 @@
+ {% if unfolded %} -
+
{% else %} -