{{ question.html|safe }}
|' %}
{% if request.user|can_edit_post:question %}
{% trans 'edit' %}
{% endif %}
{% separator %}
{% if question.closed %}
{% if request.user|can_reopen_question:question %}
{% trans "reopen" %}
{% endif %}
{% else %}
{% if request.user|can_close_question:question %}
{% trans "close" %}
{% endif %}
{% endif %}
{% separator %}
{% if request.user|can_flag_offensive %}
{% trans "flag offensive" %}
{% if request.user|can_view_offensive_flags and question.offensive_flag_count %}
({{ question.offensive_flag_count }})
{% endif %}
{% endif %}
{% separator %}
{% if request.user|can_delete_post:question %}
{% trans "delete" %}
{% endif %}
{% endjoinitems %}
{% joinitems using '
{% post_contributor_info question "original_author" %}
{% post_contributor_info question "last_updater" %}
{% if request.user|can_add_comments:question or question.comment_count > 5 %}
{% if request.user|can_add_comments:question %}
{% trans "add comment" %}
{% endif %}
{% if question.comment_count > 5 %}
{% if request.user|can_add_comments:question %}/
{% blocktrans count question.get_comments|slice:"5:"|length as counter %}
see one more
{% plural %}
see {{counter}} more
{% endblocktrans %}
{% else %}
{% blocktrans count question.get_comments|slice:"5:"|length as counter %}
see one more comment
{% plural %}
see {{counter}} more comments
{% endblocktrans %}
{% endif %}
{% endif %}
{% endif %}
|
{% blocktrans with question.get_close_reason_display as close_reason %}The question has been closed for the following reason "{{ close_reason }}" by{% endblocktrans %} {{ question.closed_by.username }} {% blocktrans with question.closed_at as closed_at %}close date {{closed_at}}{% endblocktrans %}
{{ answer.html|safe }}
{% joinitems using '|' %}
{% trans "permanent link" %}
{% separator %}
{% if request.user|can_edit_post:answer %}
{% trans 'edit' %}
{% endif %}
{% separator %}
{% if request.user|can_flag_offensive %}
{% trans "flag offensive" %}
{% if request.user|can_view_offensive_flags and answer.offensive_flag_count %}
({{ answer.offensive_flag_count }})
{% endif %}
{% endif %}
{% separator %}
{% if request.user|can_delete_post:answer %}
{% spaceless %}
{% if answer.deleted %}{% trans "undelete" %}{% else %}{% trans "delete" %}{% endif %}
{% endspaceless %}
{% endif %}
{% endjoinitems %}
{% post_contributor_info answer "original_author" %}
{% post_contributor_info answer "last_updater" %}
{% for comment in answer.get_comments|slice:":5" %}
{{comment.comment}} - {{comment.user}} {% spaceless %} ({% diff_date comment.added_at %}) {% if request.user|can_delete_comment:comment %} {% endif %} {% endspaceless %} {% endfor %}
{% if request.user|can_add_comments:answer or answer.comment_count > 5 %}
{% if request.user|can_add_comments:answer %}
{% trans "add comment" %}
{% endif %}
{% if answer.comment_count > 5 %}
{% if request.user|can_add_comments:answer %}/
{% blocktrans count answer.get_comments|slice:"5:"|length as counter %}
see one more
{% plural %}
see {{counter}} more
{% endblocktrans %}
{% else %}
{% blocktrans count answer.get_comments|slice:"5:"|length as counter %}
see one more comment
{% plural %}
see {{counter}} more comments
{% endblocktrans %}
{% endif %}
{% endif %}
{% endif %}
|
{{comment.comment}} - {{comment.user}} {% spaceless %} ({% diff_date comment.added_at %}) {% if request.user|can_delete_comment:comment %} {% endif %} {% endspaceless %}
{% endfor %}