{% 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 %} {% endif %} {% endblock %} {% block content %}
{{ question.get_question_title }}
{% if question_vote %} {% trans
{{ question.score }}
{% trans {% else %} {% trans
{{ question.score }}
{% trans {% endif %} {% if favorited %} {% trans
{{ question.favourite_count }}
{% else %} {% trans
{% 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 %}

{% trans "The question has been closed for the following reason" %} "{{ question.get_close_reason_display }}" {% trans "by"%} {{ question.closed_by.username }} {% blocktrans %}close date {% endblocktrans %} {{question.closed_at|date:"d-m-Y H:i"}}

{% endif %} {% ifnotequal answers.length 0 %} {% cnprog_paginator context %} {% for answer in answers %}
{% trans
{{ answer.score }}
{% trans {% ifequal request.user question.author %} {% trans {% else %} {% if answer.accepted %} {% trans {% 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 %}
{% trans "Your answer" %}:
{% if not request.user.is_authenticated %}
{% trans "you can answer anonymously and then login" %}
{% endif %}
{{ answer.text }}
{% trans "toggle preview" %} {{ answer.wiki }} {{ answer.wiki.label_tag }}
{{ answer.text.errors }}
{% if request.user.is_authenticated %} {{ answer.email_notify }} {% 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 %}