X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/6b9b8579ab09beb19c0956bcd3938047c900bd61..1cbbc10ec680da017745add73b98986197988bd3:/forum/skins/default/templates/question.html diff --git a/forum/skins/default/templates/question.html b/forum/skins/default/templates/question.html index fceff20..9a33846 100644 --- a/forum/skins/default/templates/question.html +++ b/forum/skins/default/templates/question.html @@ -3,6 +3,7 @@ {% load node_tags %} {% load extra_tags %} {% load extra_filters %} +{% load general_sidebar_tags %} {% load smart_if %} {% load humanize %} {% load i18n %} @@ -62,7 +63,7 @@
- +
@@ -75,14 +76,15 @@
{{ question.html|safe }}
-
-
- {% for tag in question.tagname_list %} - - {% endfor %} -
+
+ {% for tag in question.tagname_list %} + + {% endfor %} +
+
{% post_controls question request.user %} + {% wiki_symbol request.user question %}
{% contributors_info question %} @@ -93,14 +95,14 @@
- {% if question.marked %} + {% if question.nis.closed %}

- {% blocktrans with question.closed.extra as close_reason %} + {% blocktrans with question.nstate.closed.extra as close_reason %} The question has been closed for the following reason "{{ close_reason }}" by {% endblocktrans %} - {{ question.closed.by.username }} - {% diff_date question.closed.at %} + {{ question.nstate.closed.by.username }} + {% diff_date question.nstate.closed.at %}

{% endif %} @@ -128,7 +130,7 @@ {% for answer in answers %} -
+
@@ -212,8 +214,8 @@
-
{{ answer.text.errors }} +

{% include "subscription_status.html" %}
+{% sidebar_upper %} {% cache 60 questions_tags settings.APP_URL question.id %}

{% trans "Question tags" %}:

- {% for tag in tags %} + {% for tag in question.tags.all %} ×{{ tag.used_count|intcomma }}
@@ -260,6 +263,7 @@

{% endcache %} +{% sidebar_lower %}

{% trans "Related questions" %}