1 {% load i18n humanize extra_filters extra_tags user_tags %}
2 <div class="short-summary">
3 <div class="counts">{% if favorite_count %}
4 <div class="favorites">
5 <span class="favorite-mark{% if question.favourite_count %} on{% endif %}"></span>
6 <div class="item-count">{{question.favourite_count|intcomma}}</div>
10 <div class="item-count">{{question.score|intcomma}}</div>
11 <div>{% ifequal question.score 1 %}{% trans "vote" %}{% else %}{% trans "votes" %}{% endifequal %}</div>
13 <div {% if question.accepted_count %}title="{% trans "this question has an accepted answer" %}"{% endif %} class="status {% if question.accepted_count %}answered-accepted{% endif %} {% ifequal question.answer_count 0 %}unanswered{% endifequal %}{% ifnotequal question.answer_count 0 %}answered{% endifnotequal %}">
14 <div class="item-count">{{question.answer_count|intcomma}}</div>
15 <div>{% ifequal question.answer_count 1 %}{% trans "answer" %}{% else %}{% trans "answers" %}{% endifequal %}</div>
18 <div class="item-count">{{question.view_count|decorated_int|safe}}</div>
19 <div>{% ifequal question.view_count 1 %}{% trans "view" %}{% else %}{% trans "views" %}{% endifequal %}</div>
23 <div class="question-summary-wrapper">
24 <h2><a {% if not question_summary %}title="{{ question.summary }}"{% endif %} href="{{ question.get_absolute_url }}">{{question.headline}}</a></h2>
25 {% if question_summary %}
27 {{ question.summary }}
30 <div class="userinfo">
31 <span class="relativetime" title="{{question.last_activity_at}}">{% diff_date question.last_activity_at %}</span>
32 {% if question.last_activity_by %}{% user_signature question.last_activity_by signature_type %}{% endif %}
35 <div class="tags">{% for tag in question.tagname_list %}
36 <a class="tag-link-{{ tag }}" href="{% url "tag_questions" tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}'" rel="tag">{{ tag }}</a>{% endfor %}