From cd0aade8c429eeb4221abe6c4f2df6bd8adc94f9 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 26 Apr 2011 19:08:48 -0400 Subject: some more styling tweaks for users badges --- askbot/skins/default/media/style/style.css | 6 ++++++ askbot/skins/default/templates/user_profile/user_stats.html | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 9671ec29..1ce0b3d0 100755 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -469,6 +469,12 @@ span.delete-icon:hover { font-family: sans-serif; } +.badges .tag-number { + float: none; + display: inline; + padding-right: 15px; +} + ul#search-tags { padding-top: 3px; } diff --git a/askbot/skins/default/templates/user_profile/user_stats.html b/askbot/skins/default/templates/user_profile/user_stats.html index cd0f92a4..81ea448f 100644 --- a/askbot/skins/default/templates/user_profile/user_stats.html +++ b/askbot/skins/default/templates/user_profile/user_stats.html @@ -98,15 +98,15 @@ {% spaceless %}

{% trans counter=total_awards %}{{counter}} Badge{% pluralize %}{{counter}} Badges{% endtrans %}

{% endspaceless %} -
+
- - -- cgit v1.2.3-1-g7c22
+ {% for badge in badges %}{# todo: translate badge name properly #} -  {% trans name=badge.name %}{{name}}{% endtrans %} × {{ awarded_badge_counts[badge.id]|intcomma }}
+  {% trans name=badge.name %}{{name}}{% endtrans %} × {{ awarded_badge_counts[badge.id]|intcomma }} {% if loop.index is divisibleby 3 %}
+
{% endif %} {% endfor %}