1 {% load i18n humanize extra_filters extra_tags user_tags %}
\r
2 <div class="short-summary">
\r
3 <div class="counts">{% if favorite_count %}
\r
4 <div class="favorites">
\r
5 <span class="favorite-mark{% if question.favourite_count %} on{% endif %}"></span>
\r
6 <div class="item-count">{{question.favourite_count|intcomma}}</div>
\r
8 {% endif %}<div class="votes">
\r
9 <div class="item-count">{{question.score|intcomma}}</div>
\r
10 <div>{% trans "votes" %}</div>
\r
12 <div {% if question.answer_accepted %}title="{% trans "this answer has been accepted to be correct" %}"{% endif %} class="status {% if question.answer_accepted %}answered-accepted{% endif %} {% ifequal question.answer_count 0 %}unanswered{% endifequal %}{% ifnotequal question.answer_count 0 %}answered{% endifnotequal %}">
\r
13 <div class="item-count">{{question.answer_count|intcomma}}</div>
\r
14 <div>{% trans "answers" %}</div>
\r
17 <div class="item-count">{{question.view_count|cnprog_intword|safe}}</div>
\r
18 <div>{% trans "views" %}</div>
\r
22 <h2><a title="{{question.summary.split|join:" "}}" href="{{ question.get_absolute_url }}">{{question.title}}</a></h2>
\r
23 <div class="userinfo">
\r
24 <span class="relativetime" title="{{question.last_activity_at}}">{% diff_date question.last_activity_at %}</span>
\r
25 {% if question.last_activity_by %}{% user_signature question.last_activity_by signature_type %}{% endif %}
\r
28 <div class="tags">{% for tag in question.tagname_list %}
\r
29 <a href="{% url tag_questions tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}' {% trans "using tags" %}" rel="tag">{{ tag }}</a>{% endfor %}
\r