summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-11-25 19:45:10 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-11-25 19:45:10 -0500
commit19b8d46665cc8fa02121c5761ee62d99e9359105 (patch)
tree29886f27cedc81e3caa012992187bac20bae2460 /templates
parentad98bb5c3f6408ac9a12d1c79448ca841fbcd904 (diff)
downloadaskbot-19b8d46665cc8fa02121c5761ee62d99e9359105.tar.gz
askbot-19b8d46665cc8fa02121c5761ee62d99e9359105.tar.bz2
askbot-19b8d46665cc8fa02121c5761ee62d99e9359105.zip
fixed user tag selection and count, link points to user authored questions/answers, fixed diff_date a little
Diffstat (limited to 'templates')
-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 2b7949e8..06f1cd2b 100644
--- a/templates/user_stats.html
+++ b/templates/user_stats.html
@@ -84,7 +84,7 @@
<a name="tags"></a>
{% spaceless %}
<h2>
- {% blocktrans count tags|length as counter %}
+ {% blocktrans count user_tags|length as counter %}
<span class="count">1</span> Tag
{% plural %}
<span class="count">{{counter}}</span> Tags
@@ -95,10 +95,11 @@
<table class="tags">
<tr>
<td width="180" valign="top">
- {% for tag in tags%}
+ {% for tag in user_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"> &#215; {{ tag.used_count|intcomma }}</span><br/>
+ title="{% blocktrans with tag.name as tag_name %}see other questions tagged '{{ tag_name }}' {% endblocktrans %}"
+ href="{% url forum.views.tag tag|urlencode %}?user={{view_user.username}}">{{tag.name}}</a>
+ <span class="tag-number">&#215; {{ tag.user_tag_usage_count|intcomma }}</span><br/>
{% if forloop.counter|divisibleby:"10" %}
</td>
<td width="180" valign="top">