X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/e2eba8a3f2a5dd225b293bccffb4dc55fa1a504c..4bbb2156110a75e84ef95ee28ba31490d986b870:/forum/skins/default/templates/question_list/item.html diff --git a/forum/skins/default/templates/question_list/item.html b/forum/skins/default/templates/question_list/item.html index ccaca92..e3dd4b3 100644 --- a/forum/skins/default/templates/question_list/item.html +++ b/forum/skins/default/templates/question_list/item.html @@ -1,27 +1,40 @@ -{% load i18n humanize extra_filters extra_tags user_tags %} -
-
-
-
{{question.score|intcomma}}
-
{% trans "votes" %}
-
-
-
{{question.answer_count|intcomma}}
-
{% trans "answers" %}
-
-
-
{{question.view_count|cnprog_intword|safe}}
-
{% trans "views" %}
-
-
- -

{{question.title}}

-
- {% diff_date question.last_activity_at %} - {% if question.last_activity_by %}{% user_signature_small_lite question.last_activity_by %}{% endif %} -
- -
{% for tag in question.tagname_list %} - {% endfor %} -
+{% load i18n humanize extra_filters extra_tags user_tags %} +
+
{% if favorite_count %} +
+ +
{{question.favourite_count|intcomma}}
+
+ {% endif %} +
+
{{question.score|intcomma}}
+
{% ifequal question.score 1 %}{% trans "vote" %}{% else %}{% trans "votes" %}{% endifequal %}
+
+
+
{{question.answer_count|intcomma}}
+
{% ifequal question.answer_count 1 %}{% trans "answer" %}{% else %}{% trans "answers" %}{% endifequal %}
+
+
+
{{question.view_count|decorated_int|safe}}
+
{% ifequal question.view_count 1 %}{% trans "view" %}{% else %}{% trans "views" %}{% endifequal %}
+
+
+ +
+

{{question.headline}}

+ {% if question_summary %} +
+ {{ question.summary }} +
+ {% endif %} +
+ {% diff_date question.last_activity_at %} + {% if question.last_activity_by %}{% user_signature question.last_activity_by signature_type %}{% endif %} +
+ +
{% for tag in question.tagname_list %} + {% endfor %} +
+
+
\ No newline at end of file