diff options
Diffstat (limited to 'askbot/skins/common/templates/question/answer_vote_buttons.html')
-rw-r--r-- | askbot/skins/common/templates/question/answer_vote_buttons.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/askbot/skins/common/templates/question/answer_vote_buttons.html b/askbot/skins/common/templates/question/answer_vote_buttons.html index 0ff57e4b..c0e86104 100644 --- a/askbot/skins/common/templates/question/answer_vote_buttons.html +++ b/askbot/skins/common/templates/question/answer_vote_buttons.html @@ -5,7 +5,7 @@ }} {% if request.user == question.author or (request.user.is_authenticated() and (request.user.is_moderator() or request.user.is_administrator())) %} <img id="answer-img-accept-{{ answer.id }}" class="answer-img-accept" - {% if answer.accepted %} + {% if answer.accepted() %} src="{{'/images/vote-accepted-on.png'|media}}" {% else %} src="{{'/images/vote-accepted.png'|media}}" @@ -13,9 +13,9 @@ alt="{% trans %}mark this answer as correct (click again to undo){% endtrans %}" title="{% trans %}mark this answer as correct (click again to undo){% endtrans %}" /> {% else %} - {% if answer.accepted %} + {% if answer.accepted() %} <img id="answer-img-accept-{{ answer.id }}" class="answer-img-accept" - {% if answer.accepted %} + {% if answer.accepted() %} src="{{'/images/vote-accepted-on.png'|media}}" {% else %} src="{{'/images/vote-accepted.png'|media}}" |