{% set pipe=joiner('|') %} {{ pipe() }} {% trans %}permanent link{% endtrans %} {% if request.user|can_edit_post(answer) %}{{ pipe() }} {% trans %}edit{% endtrans %} {% endif %} {% if request.user|can_flag_offensive(answer) %}{{ pipe() }} {% trans %}flag offensive{% endtrans %} {% if request.user|can_see_offensive_flags(answer) %} {% if answer.offensive_flag_count > 0 %}({{ answer.offensive_flag_count }}){% endif %} {% endif %} {% endif %} {% if request.user|can_delete_post(answer) %}{{ pipe() }} {% spaceless %} {% if answer.deleted %}{% trans %}undelete{% endtrans %}{% else %}{% trans %}delete{% endtrans %}{% endif %} {% endspaceless %} {% endif %} {% if settings.ALLOW_SWAPPING_QUESTION_WITH_ANSWER and request.user.is_authenticated() and request.user.is_administrator_or_moderator() %}{{ pipe() }} {% trans %}swap with question{% endtrans %} {% endif %}