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