diff options
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/messages/message.html | 12 | ||||
-rw-r--r-- | hyperkitty/templates/thread.html | 2 |
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> |