diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-05-24 19:21:17 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-05-24 19:21:17 -0400 |
commit | 6d93566f517a45cf1221cd547987fd6ac857674c (patch) | |
tree | d0fb09c99f9da2b3f8078b290ed90475e7c14ec2 | |
parent | 899cd7376580b9238bdb12ddc1f097bcb9912730 (diff) | |
download | askbot-6d93566f517a45cf1221cd547987fd6ac857674c.tar.gz askbot-6d93566f517a45cf1221cd547987fd6ac857674c.tar.bz2 askbot-6d93566f517a45cf1221cd547987fd6ac857674c.zip |
small fixes in the user follow inteface
-rw-r--r-- | askbot/skins/default/templates/user_profile/user_network.html | 4 | ||||
-rw-r--r-- | 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 %} - <h2>{% trans count=followed_users|length %}Following {{count}} person{% pluralize count %}Followed by {{count}} people{% endtrans %}</h2> + <h2>{% trans count=followed_users|length %}Following {{count}} person{% pluralize count %}Following {{count}} people{% endtrans %}</h2> {{ macros.user_list(followed_users, profile_section = 'network') }} {% endif %} {% else %} {% if request.user == view_user %} <p>{% trans %}Your network is empty. Would you like to follow someone? - Just visit their profiles and click "follow"{% endtrans %}</p> {% else %} - <p>{% trans username = view_user.username %}{{user}}'s network is empty{% endtrans %}</p> + <p>{% trans username = view_user.username %}{{username}}'s network is empty{% endtrans %}</p> {% 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 } |