diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-08-12 15:26:56 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-08-12 15:26:56 -0400 |
commit | 5c6fceae98c0916c94ec5b919950c67475f44b67 (patch) | |
tree | 5e9041d10f27b47489344b5dc892c5ec223e30cf /templates/users_questions.html | |
parent | 1f034e12f4deeb27cd641c73e555c050e5f4d942 (diff) | |
download | askbot-5c6fceae98c0916c94ec5b919950c67475f44b67.tar.gz askbot-5c6fceae98c0916c94ec5b919950c67475f44b67.tar.bz2 askbot-5c6fceae98c0916c94ec5b919950c67475f44b67.zip |
merged Bruno url translations, removed his local mods, added settings.BOOKS_ON, validated more templates
Diffstat (limited to 'templates/users_questions.html')
-rw-r--r-- | templates/users_questions.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/templates/users_questions.html b/templates/users_questions.html index dd818ddb..9907885e 100644 --- a/templates/users_questions.html +++ b/templates/users_questions.html @@ -9,13 +9,15 @@ {% if question.favorited_myself %} <div class="favorites-count"> <img title="{% trans "this questions was selected as favorite" %} {{question.favourite_count}} {% trans "number of times" %}" - src="/content/images/vote-favorite-on.png"> + alt="{% trans "thumb-up on" %}" + src="/content/images/vote-favorite-on.png"/> <div><b>{{question.favourite_count|intcomma}}</b></div> </div> {% else %} <div class="favorites-count-off"> <img title="{% trans "this question was selected as favorite" %}{{question.favourite_count}} {% trans "number of times" %}" - src="/content/images/vote-favorite-off.png"> + alt="{% trans "thumb-up off" %}" + src="/content/images/vote-favorite-off.png"/> <div><b>{{question.favourite_count|intcomma}}</b></div> </div> {% endif %} @@ -24,22 +26,22 @@ {% endif %} <div id="question-summary-{{question.id}}" class="question-summary narrow"> <a style="text-decoration: none;" href="{% url questions %}{{question.id}}/{{question.get_question_title}}"> - <div class="stats"> - <div class="votes"> - <div class="vote-count-post">{{question.vote_count|intcomma}}</div> + <span class="stats"> + <span class="votes"> + <span class="vote-count-post">{{question.vote_count|intcomma}}</span> {% trans "votes" %} - </div> - <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 %}"> - <div class="answer-count-post">{{question.answer_count|intcomma}}</div> + </span> + <span 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 %}"> + <span class="answer-count-post">{{question.answer_count|intcomma}}</span> {% trans "answers" %} - </div> - <div class="views"> - <div class="views-count-post">{{question.view_count|cnprog_intword|safe}}</div> + </span> + <span class="views"> + <span class="views-count-post">{{question.view_count|cnprog_intword|safe}}</span> {% trans "views" %} - </div> - </div> + </span> + </span> </a> <div class="summary"> <h3> @@ -60,7 +62,7 @@ </div> </div> </div> - <br clear="both"/> + <br clear="all"/> {% endfor %} </div> <!-- end users_questions.html --> |