{% extends "two_column_body.html" %} {% import "macros.html" as macros %} {% block title %}{% spaceless %}{{ question.get_question_title() }}{% endspaceless %}{% endblock %} {% block meta_description %} {% endblock %} {% block keywords %}{{question.tagname_meta_generator()}}{% endblock %} {% block forestyle %} {% endblock %} {% block content %}
{{question.html}}
{% spaceless %}
{% endspaceless %}
{% 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() }}
{% if question.deleted %}{% trans %}undelete{% endtrans %}{% else %}{% trans %}delete{% endtrans %}{% endif %}
{% 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,
show_post = show_post,
show_comment = show_comment,
comment_order_number = comment_order_number,
user = request.user,
max_comments = settings.MAX_COMMENTS_TO_SHOW
)
}}
|
{{ 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,
show_post = show_post,
show_comment = show_comment,
comment_order_number = comment_order_number,
user = request.user,
max_comments = settings.MAX_COMMENTS_TO_SHOW
)
}}
|
{% trans %}Question tags{% endtrans %}:
{% trans %}question asked{% endtrans %}: {{question.added_at|diff_date}}
{% trans %}question was seen{% endtrans %}: {{ question.view_count|intcomma }} {% trans %}times{% endtrans %}
{% trans %}last updated{% endtrans %}: {{question.last_activity_at|diff_date}}