From 6d93566f517a45cf1221cd547987fd6ac857674c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 24 May 2011 19:21:17 -0400 Subject: small fixes in the user follow inteface --- askbot/skins/default/templates/user_profile/user_network.html | 4 ++-- askbot/views/users.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/askbot/skins/default/templates/user_profile/user_network.html b/askbot/skins/default/templates/user_profile/user_network.html index cc741bb1..1fd2e06a 100644 --- a/askbot/skins/default/templates/user_profile/user_network.html +++ b/askbot/skins/default/templates/user_profile/user_network.html @@ -11,14 +11,14 @@ {{ macros.user_list(followers, profile_section = 'network') }} {% endif %} {% if followed_users %} -

{% trans count=followed_users|length %}Following {{count}} person{% pluralize count %}Followed by {{count}} people{% endtrans %}

+

{% trans count=followed_users|length %}Following {{count}} person{% pluralize count %}Following {{count}} people{% endtrans %}

{{ macros.user_list(followed_users, profile_section = 'network') }} {% endif %} {% else %} {% if request.user == view_user %}

{% trans %}Your network is empty. Would you like to follow someone? - Just visit their profiles and click "follow"{% endtrans %}

{% else %} -

{% trans username = view_user.username %}{{user}}'s network is empty{% endtrans %}

+

{% trans username = view_user.username %}{{username}}'s network is empty{% endtrans %}

{% endif %} {% endif %} {% endblock %} diff --git a/askbot/views/users.py b/askbot/views/users.py index cd3aa421..3f41c76a 100644 --- a/askbot/views/users.py +++ b/askbot/views/users.py @@ -841,7 +841,6 @@ def user_reputation(request, user, context): 'tab_name': 'reputation', 'tab_description': _('user reputation in the community'), 'page_title': _('profile - user reputation'), - 'view_user': user, 'reputation': reputes, 'reps': reps } -- cgit v1.2.3-1-g7c22