X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/e2eba8a3f2a5dd225b293bccffb4dc55fa1a504c..2dd371482b63066c3c8c828977efe2014c5dc13e:/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..4eb3c3b 100644 --- a/forum/skins/default/templates/question_list/item.html +++ b/forum/skins/default/templates/question_list/item.html @@ -1,27 +1,35 @@ {% load i18n humanize extra_filters extra_tags user_tags %}
-
+
{% if favorite_count %} +
+ +
{{question.favourite_count|intcomma}}
+
+ {% endif %}
{{question.score|intcomma}}
-
{% trans "votes" %}
+
{% ifequal question.score 1 %}{% trans "vote" %}{% else %}{% trans "votes" %}{% endifequal %}
-
+
{{question.answer_count|intcomma}}
-
{% trans "answers" %}
+
{% ifequal question.answer_count 1 %}{% trans "answer" %}{% else %}{% trans "answers" %}{% endifequal %}
-
{{question.view_count|cnprog_intword|safe}}
-
{% trans "views" %}
+
{{question.view_count|decorated_int|safe}}
+
{% ifequal question.view_count 1 %}{% trans "view" %}{% else %}{% trans "views" %}{% endifequal %}
-

{{question.title}}

-
- {% diff_date question.last_activity_at %} - {% if question.last_activity_by %}{% user_signature_small_lite question.last_activity_by %}{% endif %} -
+
+

{{question.headline}}

+
+ {% 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 %} +
{% for tag in question.tagname_list %} + {% endfor %} +
+
\ No newline at end of file