diff options
-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 } |