summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-10 11:48:16 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-10 11:48:16 +0200
commit7558ef3a1e4f2625075d8a34b25224f7e595c939 (patch)
treea4da38c984cc4fc778fc19613eafd078d6ffbe04 /hyperkitty/templates
parentc0ee7065e3ab7993cce6f80d57bc17ace4ee2973 (diff)
downloadhyperkitty-7558ef3a1e4f2625075d8a34b25224f7e595c939.tar.gz
hyperkitty-7558ef3a1e4f2625075d8a34b25224f7e595c939.tar.xz
hyperkitty-7558ef3a1e4f2625075d8a34b25224f7e595c939.zip
Improve styling
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html12
-rw-r--r--hyperkitty/templates/thread.html2
2 files changed, 11 insertions, 3 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 66a6ff8..c4325dc 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -3,7 +3,15 @@
<div class="email_header">
<div class="email_date inline-block pull-right">
- <span class="date">{{email.date}}</span>
+ {% ifchanged %}
+ <span class="date">
+ {{email.date|date:"l, j F"}}
+ {% if unfolded %}
+ {{email.date|date:"Y"}}
+ {% endif %}
+ </span>
+ {% endifchanged %}
+ <span class="time">{{email.date|date:"H:i:s e"}}</span>
<br />
</div>
{% gravatar_img_for_email email.email 40 %}
@@ -41,7 +49,7 @@
<ul class="email_info inline" messageid="{{email.message_id_hash}}">
{% if settings.USE_MOCKUPS == True %}
- <li class="neutral">
+ <li class="likestatus neutral">
+{{email.likes}}/-{{email.dislikes}}
</li>
<li class="voteup">
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 20181b8..b019d8a 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -14,7 +14,7 @@
{% if thread %}
<a class="thread-{% ifequal forloop.counter 1 %}older{% else %}newer{% endifequal %}"
href="{% url thread threadid=thread.thread_id, mlist_fqdn=list_address %}"
- >{{ thread.subject|strip_subject:mlist|truncatesmart:"25" }}</a>
+ >{{ thread.subject|strip_subject:mlist|truncatesmart:"22" }}</a>
{% endif %}
{% endfor %}
<h1>{{ subject }}</h1>