summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-24 11:19:42 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-24 11:19:42 +0200
commitd7960dd61479b254506fc7869144ff91f3481e9a (patch)
tree97bdfe6836f35c02f1538ab71c8d6c67b21767bb /hyperkitty/templates
parentd6e6803ebcd75763d243404af5d8c3dfcb2ba8a9 (diff)
downloadhyperkitty-d7960dd61479b254506fc7869144ff91f3481e9a.tar.gz
hyperkitty-d7960dd61479b254506fc7869144ff91f3481e9a.tar.xz
hyperkitty-d7960dd61479b254506fc7869144ff91f3481e9a.zip
Display the number of unread replies
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/ajax/last_views.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/hyperkitty/templates/ajax/last_views.html b/hyperkitty/templates/ajax/last_views.html
index 5455413..25fe995 100644
--- a/hyperkitty/templates/ajax/last_views.html
+++ b/hyperkitty/templates/ajax/last_views.html
@@ -27,7 +27,12 @@
<td>{{ lv.thread.starting_email.sender_name }}</td>
<td>{{ lv.thread.starting_email|viewer_date|date:"l, j F Y H:i:s" }}</td>
<td>{{ lv.thread|viewer_date|timesince }}</td>
- <td>{{ lv.thread|length }}</td>
+ <td>
+ {{ lv.thread|length }}
+ {% if thread.unread %}
+ / {{ thread.unread }} new
+ {% endif %}
+ </td>
</tr>
{% endfor %}
</tbody>