diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-11-25 19:44:46 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-11-25 19:44:46 -0500 |
commit | ef13ff40fdb71b37a4a75056e02bb31b32fc58e4 (patch) | |
tree | 29886f27cedc81e3caa012992187bac20bae2460 /templates/user_stats.html | |
parent | 37e2af9f9818ffdb64a354816579254e3f647bb7 (diff) | |
download | askbot-ef13ff40fdb71b37a4a75056e02bb31b32fc58e4.tar.gz askbot-ef13ff40fdb71b37a4a75056e02bb31b32fc58e4.tar.bz2 askbot-ef13ff40fdb71b37a4a75056e02bb31b32fc58e4.zip |
fixed user tag selection and count, link points to user authored questions/answers, fixed diff_date a little
Diffstat (limited to 'templates/user_stats.html')
-rw-r--r-- | templates/user_stats.html | 9 |
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"> × {{ 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">× {{ tag.user_tag_usage_count|intcomma }}</span><br/> {% if forloop.counter|divisibleby:"10" %} </td> <td width="180" valign="top"> |