summaryrefslogtreecommitdiff
path: root/static/website/templates/questions.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/questions.html')
-rw-r--r--static/website/templates/questions.html17
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 }}