{{ macros.post_vote_buttons( post = answer, visitor_vote = user_answer_votes[answer.id] ) }} {% if request.user == question.author or request.user.is_authenticated() and (request.user.is_moderator() or request.user.is_superuser()) %} {% trans %}mark this answer as favorite (click again to undo){% endtrans %} {% else %} {% if answer.accepted %} {% trans question_author=question.author.username %}{{question_author}} has selected this answer as correct{% endtrans %} {% endif %} {% endif %}