summaryrefslogtreecommitdiffstats
path: root/templates/user_stats.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-10 21:40:01 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-10 21:40:01 -0400
commit1eacc7a42618e84766477fbcc2c32a1da3547115 (patch)
tree23b90f5410c1dfd94704cbb38aad2bdf32cf0f5f /templates/user_stats.html
parent0f607d83e801192977bff15c256456fa2f44ff85 (diff)
downloadaskbot-1eacc7a42618e84766477fbcc2c32a1da3547115.tar.gz
askbot-1eacc7a42618e84766477fbcc2c32a1da3547115.tar.bz2
askbot-1eacc7a42618e84766477fbcc2c32a1da3547115.zip
untested commit. merged Adolfos mods, validated most of html, slugify urls, fixed IE issues in openid signin
Diffstat (limited to 'templates/user_stats.html')
-rw-r--r--templates/user_stats.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/user_stats.html b/templates/user_stats.html
index 432a5b34..2c2a7a72 100644
--- a/templates/user_stats.html
+++ b/templates/user_stats.html
@@ -2,6 +2,7 @@
<!-- user_stats.html -->
{% load i18n %}
{% load extra_tags %}
+{% load extra_filters %}
{% load humanize %}
{% block usercontent %}
@@ -32,7 +33,7 @@
<div class="user-stats-table">
{% for answered_question in answered_questions %}
<div class="answer-summary">
- <a title="{{answered_question.summary}}" href="/questions/{{answered_question.id}}/{{answered_question.title}}#{{answered_question.answer_id}}">
+ <a title="{{answered_question.summary|collapse}}" href="/questions/{{answered_question.id}}/{{answered_question.title}}#{{answered_question.answer_id}}">
<div class="answer-votes {% if answered_question.accepted %}answered-accepted{% endif %}"
title="{% blocktrans with answered_question.vote_count as vote_count %}the answer has been voted for {{ vote_count }} times{% endblocktrans %}&#13;{% if answered_question.accepted %}{% trans "this answer has been selected as correct" %}{%endif%}">
{{ answered_question.vote_count }}
@@ -40,7 +41,7 @@
</a>
<div class="answer-link">
<a href="/questions/{{answered_question.id}}/{{answered_question.title}}#{{answered_question.answer_id}}">{{answered_question.title}}</a> {% if answered_question.comment_count %}<span
- title="{% blocktrans %}the answer has been commented {{ answered_question.comment_count }} times{% endblocktrans %}">({{answered_question.comment_count}})</span>{% endif %}
+ title="{% blocktrans with answered_question.comment_count as comment_count %}the answer has been commented {{ comment_count }} times{% endblocktrans %}">({{answered_question.comment_count}})</span>{% endif %}
</div>
</div>
{% endfor %}
@@ -92,7 +93,7 @@
{% for tag in tags%}
<a rel="tag"
title="{% blocktrans %}see other questions tagged '{{ tag }}' {% endblocktrans %}"
- href="{% url forum.views.tag tag|urlencode %}">{{tag.name}}</a><span class="tag-number"> × {{ tag.used_count|intcomma }}</span><br>
+ href="{% url forum.views.tag tag|urlencode %}">{{tag.name}}</a><span class="tag-number"> × {{ tag.used_count|intcomma }}</span><br/>
{% if forloop.counter|divisibleby:"10" %}
</td>
<td width="180" valign="top">
@@ -119,7 +120,7 @@
<tr>
<td width="180" style="line-height:35px">
{% for award in awards %}
- <a href="/badges/{{award.id}}/{{award.name}}" title="{{ award.description }}" class="medal"><span class="badge{{ award.type }}">&#9679;</span>&nbsp;{{ award.name }}</a><span class="tag-number"> × {{ award.count|intcomma }}</span><br>
+ <a href="/badges/{{award.id}}/{{award.name}}" title="{{ award.description }}" class="medal"><span class="badge{{ award.type }}">&#9679;</span>&nbsp;{{ award.name }}</a><span class="tag-number"> × {{ award.count|intcomma }}</span><br/>
{% if forloop.counter|divisibleby:"6" %}
</td>
<td width="180" style="line-height:35px">