diff options
author | ashwinishinde | 2015-07-06 15:12:23 +0530 |
---|---|---|
committer | ashwinishinde | 2015-07-06 15:12:23 +0530 |
commit | 4c5a279249a44bc921cfab5535ab69abe0311030 (patch) | |
tree | 6806dda9f428b2c37af8c3c0467d1a634c18f3d3 /static/website/templates/questions.html | |
parent | fff3f3cc5623ea5fdd42da87ea1e54fb9a3d7aa7 (diff) | |
download | FOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.tar.gz FOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.tar.bz2 FOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.zip |
Subject: Resolve comment issue occured by Vote functionality
Description:
Diffstat (limited to 'static/website/templates/questions.html')
-rw-r--r-- | static/website/templates/questions.html | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/static/website/templates/questions.html b/static/website/templates/questions.html index 81c0d56..292437f 100644 --- a/static/website/templates/questions.html +++ b/static/website/templates/questions.html @@ -13,17 +13,7 @@ <th> Question <span class="glyphicon glyphicon-link"></span></th> <th> Date</th> <th> Views</th> - <div class="viewcount" id ="viewcount"> - {% if num_votes == 0 %} - vote - {% elif num_votes == 1 %} - vote - {% elif num_votes == -1 %} - vote - {% else %} - votes - {% endif %} - </div> + <th> Votes </th> <th> Answers</th> <th> User</th> {% for question in questions %} @@ -56,6 +46,11 @@ <td> {{ question.views}} </td> + <td> + + {{ question.num_votes}} + + </td> <td> {{ question.answer_set.count }} |