{{question.html}}
{% set pipe=joiner('|') %}
{% if request.user|can_edit_post(question) %}{{ pipe() }}
{% trans %}edit{% endtrans %}
{% endif %}
{% if request.user|can_retag_question(question) %}{{ pipe() }}
{% trans %}retag{% endtrans %}
{% endif %}
{% if question.closed %}
{% if request.user|can_reopen_question(question) %}{{ pipe() }}
{% trans %}reopen{% endtrans %}
{% endif %}
{% else %}
{% if request.user|can_close_question(question) %}{{ pipe() }}
{% trans %}close{% endtrans %}
{% endif %}
{% endif %}
{% if request.user|can_flag_offensive(question) %}{{ pipe() }}
{% trans %}flag offensive{% endtrans %}
{% if request.user|can_see_offensive_flags(question) %}
{% if question.offensive_flag_count > 0 %}({{ question.offensive_flag_count }}){% endif %}
{% endif %}
{% endif %}
{% if request.user|can_delete_post(question) %}{{ pipe() }}
{% trans %}delete{% endtrans %}
{% endif %}
{{
macros.post_contributor_info(
question,
"original_author",
question.wiki,
settings.MIN_REP_TO_EDIT_WIKI
)
}}
{{
macros.post_contributor_info(
question,
"last_updater",
question.wiki,
settings.MIN_REP_TO_EDIT_WIKI,
)
}}
{{
macros.post_comments_widget(
post = question,
user = request.user,
max_comments = settings.MAX_COMMENTS_TO_SHOW
)
}}
|
{% trans close_reason=question.get_close_reason_display() %}The question has been closed for the following reason "{{ close_reason }}" by{% endtrans %} {{ question.closed_by.username }} {% trans closed_at=question.closed_at %}close date {{closed_at}}{% endtrans %}
{{ answer.html }}
{% 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 %}
{{
macros.post_contributor_info(
answer,
"original_author",
answer.wiki,
settings.MIN_REP_TO_EDIT_WIKI
)
}}
{{
macros.post_contributor_info(
answer,
"last_updater",
answer.wiki,
settings.MIN_REP_TO_EDIT_WIKI
)
}}
{{
macros.post_comments_widget(
post = answer,
user = request.user,
max_comments = settings.MAX_COMMENTS_TO_SHOW
)
}}
|