diff --git a/files/templates/comments.html b/files/templates/comments.html index 2e43af1b5..bd93c0fdf 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -111,11 +111,12 @@ {% set score=c.score %} {% if v %} -{% set voted=c.voted %} - + {% set voted=c.voted %} + {% if not voted and v.id == c.author_id %} + {% set voted=1 %} + {% endif %} {% else %} -{% set voted=-2 %} - + {% set voted=-2 %} {% endif %} {% if standalone and level==1 %}