{# upvote #} {%- if v and request.path.startswith('/@') and v.admin_level < 2 -%} {% if voted==1 %} {% endif %} {% elif v %} {% else %} {% endif %} {# score #} {# downvote #} {%- if v and request.path.startswith('/@') and v.admin_level < 2 -%} {% if voted == -1 %}
  • {% endif %} {%- elif not ENABLE_DOWNVOTES -%} {# downvotes not allowed, nop #} {%- elif v -%} {%- else -%} {%- endif %}