X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..0f8b28050a75d2417ba7b43a36432fea36d248f7:/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 9b08cfc..b28cdf4 100644 --- a/forum/skins/default/templates/question_list/item.html +++ b/forum/skins/default/templates/question_list/item.html @@ -1,36 +1,35 @@ -{% load i18n %} -{% load humanize %} -{% load extra_filters %} -{% load extra_tags %} -{% load user_tags %} - +{% 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