summaryrefslogtreecommitdiffstats
path: root/askbot/templates/widgets/user_long_score_and_badge_summary.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-26 12:59:15 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-26 12:59:20 -0400
commit31614f4da0ef5d2d28d427cea4d5a1200f7573e6 (patch)
treea9416483737e9b00d9afca52eea9d73bae3a9410 /askbot/templates/widgets/user_long_score_and_badge_summary.html
parent94d5a526148b3899aeaa1d6f289c7b0e588395b5 (diff)
downloadaskbot-31614f4da0ef5d2d28d427cea4d5a1200f7573e6.tar.gz
askbot-31614f4da0ef5d2d28d427cea4d5a1200f7573e6.tar.bz2
askbot-31614f4da0ef5d2d28d427cea4d5a1200f7573e6.zip
added a hovercard to the user karma display shown in the page header
Diffstat (limited to 'askbot/templates/widgets/user_long_score_and_badge_summary.html')
-rw-r--r--askbot/templates/widgets/user_long_score_and_badge_summary.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/askbot/templates/widgets/user_long_score_and_badge_summary.html b/askbot/templates/widgets/user_long_score_and_badge_summary.html
index 35e4cb67..771a8f3f 100644
--- a/askbot/templates/widgets/user_long_score_and_badge_summary.html
+++ b/askbot/templates/widgets/user_long_score_and_badge_summary.html
@@ -1,7 +1,9 @@
{% set have_badges = user.gold or user.silver or user.bronze %}
{%- if karma_mode != 'hidden' -%}
-<a class="user-micro-info"
- href="{{user.get_absolute_url()}}?sort=reputation"
+<a
+ class="user-micro-info reputation"
+ href="{{user.get_absolute_url()}}?sort=reputation"
+ data-url="{% url 'get_perms_data' %}"
>{% trans %}karma:{% endtrans %} {{user.reputation}}</a>{% if badges_mode == 'public' and have_badges %},{% endif %}
{%- endif -%}
{% if badges_mode == 'public' and have_badges %}