summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-01-21 17:54:10 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-01-21 17:54:10 +0100
commit362ed9111f5fd7962d58d3ad8cdbc60e50822547 (patch)
tree35f755fc0432d6eaeed4e4358b94678564d7b2c0
parent5c090de74808d6166bd24320a5cee99dd81805d4 (diff)
downloadjokevote-362ed9111f5fd7962d58d3ad8cdbc60e50822547.tar.gz
jokevote-362ed9111f5fd7962d58d3ad8cdbc60e50822547.zip
update template to correctly show user votes
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index b884c57..137f3e9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -117,12 +117,12 @@
<span>{{ joke.score }}</span>
{% if joke.downvoted %}
<small class="red-text">
- {% if user.loggedin %}-10{% else %}-1{% endif %}
+ {% if user.loggedin %}-3{% else %}-1{% endif %}
</small>
{% endif %}
{% if joke.upvoted %}
<small class="green-text">
- {% if user.loggedin %}+10{% else %}+1{% endif %}
+ {% if user.loggedin %}+3{% else %}+1{% endif %}
</small>
{% endif %}
</div>