X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/dc419dfdff7030d1eea9d3c21803e8dbb6fdf071..64b2d51a7d52a03c37bc7c35fa90e111e257fd93:/forum/skins/default/templates/question.html diff --git a/forum/skins/default/templates/question.html b/forum/skins/default/templates/question.html index bdc2c22..81711e0 100644 --- a/forum/skins/default/templates/question.html +++ b/forum/skins/default/templates/question.html @@ -8,12 +8,12 @@ {% load humanize %} {% load i18n %} {% load cache %} +{% block metadescription %}{{question.summary}}{% endblock %} +{% block metakeywords %}{{question.tagname_meta_generator}}{% endblock %} {% block title %}{% spaceless %}{{ question.headline }}{% endspaceless %}{% endblock %} {% block forejs %} - - - {% if not question.closed %} + {% if not question.nis.closed %} @@ -59,11 +59,11 @@ {% block content %}
- {{ question.headline }} +

{{ question.headline }}

- +
@@ -76,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 %} @@ -94,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 %} @@ -129,7 +130,7 @@ {% for answer in answers %} -
+
@@ -145,6 +146,7 @@
{% post_controls answer request.user %} + {% wiki_symbol request.user answer %}
{% contributors_info answer %} @@ -213,8 +215,8 @@
-
{{ answer.text.errors }} +