{% if comment_votes_cache and comment.id in comment_votes_cache -%} {%- set comment_vote = comment_votes_cache[comment.id] -%} {%- else -%} {%- set comment_vote = comment.bl.get_user_vote(current_user) -%} {%- endif -%} {%- set can_vote_comment = comment.bl.can_vote_by(current_user, _value_cache=comment_vote) -%}
{{ '+' if comment.vote_total > 0 else '' }}{{ comment.vote_total }}