1 <!-- users_questions.html -->
3 {% load extra_filters %}
6 <div class="user-stats-table">
7 {% for question in questions %}
8 {% if question.favourite_count %}
9 {% if question.favorited_myself %}
10 <div class="favorites-count">
11 <img title="{% trans "this questions was selected as favorite" %} {{question.favourite_count}} {% trans "number of times" %}"
12 alt="{% trans "thumb-up on" %}"
13 src="{% media "/media/images/vote-favorite-on.png" %}"/>
14 <div><b>{{question.favourite_count|intcomma}}</b></div>
17 <div class="favorites-count-off">
18 <img title="{% trans "this question was selected as favorite" %}{{question.favourite_count}} {% trans "number of times" %}"
19 alt="{% trans "thumb-up off" %}"
20 src="{% media "/media/images/vote-favorite-off.png" %}"/>
21 <div><b>{{question.favourite_count|intcomma}}</b></div>
25 <div class="favorites-empty"> </div>
27 <div id="question-summary-{{question.id}}" class="question-summary narrow">
28 <a style="text-decoration: none;" href="{{ question.get_absolute_url }}">
31 <span class="vote-count-post">{{question.vote_count|intcomma}}</span>
34 <div title="{% if question.answer_accepted %}{% 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 %}">
35 <span class="answer-count-post">{{question.answer_count|intcomma}}</span>
39 <span class="views-count-post">{{question.view_count|cnprog_intword|safe}}</span>
45 <div class="question-title">
46 <a title="{{question.summary}}" href="{{ question.get_absolute_url }}">{{question.title}}</a>
49 {% convert2tagname_list question %}
50 {% for tag in question.tagnames %}
51 <!--todo - move trans below to blocktrans -->
52 <a href="{% url tag_questions tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}' {% trans "using tags" %}" rel="tag">{{ tag }}</a>
56 <span class="relativetime" title="{{question.last_activity_at}}">{% diff_date question.last_activity_at %}</span>
57 {% if question.la_username %}
58 <a href="{% url users %}{{question.la_user_id}}/{{question.la_username}}">{{question.la_username}}</a> {% get_score_badge_by_details question.la_user_reputation question.la_user_gold question.la_user_silver question.la_user_bronze%}
66 <!-- end users_questions.html -->