diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-06-20 17:47:30 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-06-20 17:47:30 +0200 |
commit | df0b5fb2fb74d1dec39bca6e60b04b49619caf81 (patch) | |
tree | 2af403b2f9db71f797c97a768833d696fe4ed3eb /hyperkitty/templates | |
parent | 0f5a2b253de5712423a999e860600c38fb7211db (diff) | |
download | hyperkitty-df0b5fb2fb74d1dec39bca6e60b04b49619caf81.tar.gz hyperkitty-df0b5fb2fb74d1dec39bca6e60b04b49619caf81.tar.xz hyperkitty-df0b5fb2fb74d1dec39bca6e60b04b49619caf81.zip |
Factor thread votes computation
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/threads/summary_thread.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html index cb26ffe..87a5433 100644 --- a/hyperkitty/templates/threads/summary_thread.html +++ b/hyperkitty/templates/threads/summary_thread.html @@ -21,17 +21,13 @@ >{{thread.category}}</a> </li> {% endif %} - {% if use_mockups %} - <li class="likestatus neutral"> - +0/-0 - </li> - {% endif %} <li class="participant"> {{ thread.participants|length }} </li> <li class="discussion"> {{ thread.length }} </li> + <span class="likestatus {{ thread.likestatus }}">+{{ thread.likes }}/-{{ thread.dislikes }}</span> </ul> </div> </div> |