{% extends "base.html" %}{% load extra_tags %}{% load extra_filters %}{% load humanize %} {% load i18n %} {% block title %}{% spaceless %}{{ question.get_question_title }}{% endspaceless %}{% endblock %} {% block forejs %} {% if not question.closed and request.user.is_authenticated %} {% endif %} {% endblock %} {% block content %}
{{ question.get_question_title }}
{% if question_vote %}
{{ question.score }}
{% else %}
{{ question.score }}
{% endif %}

{% if favorited %}
{{ question.favourite_count }}
{% else %}
{% ifnotequal question.favourite_count 0 %}{{ question.favourite_count }}{% endifnotequal %}
{% endif %}
{{ question.html|safe }}
{% for tag in question.tagname_list %} {% endfor %}
{% if request.user|can_edit_post:question %} {% trans 'edit' %} | {% endif %} {% if request.user|can_delete_post:question %} {% trans "delete" %} | {% endif %} {% 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 %} {% trans "flag offensive" %} {% if request.user|can_view_offensive_flags %} {% if question.offensive_flag_count %}({{ question.offensive_flag_count }}){% endif %}{% endif %} {% if question.last_edited_by %}
{% if question.wiki %} {% else %} {% ifequal question.last_edited_by question.author %} {% else %} {% endifequal %} {% endif %}
{% trans "updated" %} {% diff_date question.last_edited_at %}
{% gravatar question.last_edited_by 32 %} {{ question.last_edited_by.username }}
{% gravatar question.last_edited_by 32 %}
{% get_score_badge question.last_edited_by %}
{% endif %}
{% if question.wiki %} {% trans "community wiki" %}
{% else %}
{% trans "asked" %} {% diff_date question.added_at %}
{% gravatar question.author 32 %}
{% get_score_badge question.author %}
{% endif %}
{% if question.comment_count %}{% trans "comments" %} ({{question.comment_count}}) {% else %}{% trans "add comment" %} {% endif %}
{% if question.closed %}

{% blocktrans %}The question has been closed for the following reason "{{ question.get_close_reason_display }}" by{% endblocktrans %} {{ question.closed_by.username }} {% blocktrans %}close date {{question.closed_at}}{% endblocktrans %}

{% endif %} {% ifnotequal question.answer_count 0 %} {% cnprog_paginator context %} {% for answer in answers %}
{{ answer.score }}


{% ifequal request.user question.author %} {% else %} {% if answer.accepted %} {% endif %} {% endifequal %}
{{ answer.html|safe }}
{% if request.user|can_edit_post:answer %} {% trans "edit" %} | {% endif %} {% if request.user|can_delete_post:answer %} {% if answer.deleted %} {% trans "undelete" %} {% endif %} {% if not answer.deleted %} {% trans "delete" %} {% endif %} | {% endif %} {% trans "permanent link" %} | {% trans "flag offensive" %} {% if request.user|can_view_offensive_flags %}{% if answer.offensive_flag_count %}({{ answer.offensive_flag_count }}){% endif %}{% endif %} {% if answer.last_edited_by %}
{% if answer.wiki %} {% else %} {% ifequal answer.last_edited_by answer.author %} {% else %} {% endifequal %} {% endif %}
{% trans "updated" %}{% diff_date answer.last_edited_at %}
{% gravatar answer.last_edited_by 32 %}
{% gravatar answer.last_edited_by 32 %}
{% get_score_badge answer.last_edited_by %}
{% endif %}
{% if answer.wiki %} {% trans "community wiki" %}
{% else %}
{% trans "asked" %} {% diff_date answer.added_at %}
{% gravatar answer.author 32 %}
{% get_score_badge answer.author %}
{% endif %}
{% if answer.comment_count %}{% trans "comments" %} ({{answer.comment_count}}){% else %}{% trans "add comment" %}{% endif %}
{% endfor %}
{% cnprog_paginator context %}
{% else %}
{% endifnotequal %}
{% if not question.closed %} {% if request.user.is_authenticated %}
{% trans "Your answer" %}:
{{ answer.text }}
{% trans "toggle preview" %} {{ answer.wiki }} {{ answer.wiki.label_tag }}
{{ answer.text.errors }}

{% else %} {% endif %} {% endif %}

{% endblock %} {% block sidebar %}

{% trans "Question tags" %}:

{% for tag in tags %} × {{ tag.used_count|intcomma }}
{% endfor %}

{% trans "question asked" %}: {{ question.added_at|timesince }} {% trans "ago" %}

{% trans "question was seen" %}: {{ question.view_count|intcomma }} {% trans "times" %}

{% trans "last updated" %}: {{ question.last_activity_at|timesince }} {% trans "ago" %}

{% trans "Related questions" %}


{% endblock %} {% block endjs %} {% endblock %}