From 813ca1981552e51fe5d70bc3a591c207fae99e3e Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 5 Nov 2013 17:10:22 -0200 Subject: [PATCH] Adding button to edit list subscriptions --- src/accounts/templates/accounts/user_detail.html | 3 ++- src/accounts/urls.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/accounts/templates/accounts/user_detail.html b/src/accounts/templates/accounts/user_detail.html index f98cc97..6910281 100644 --- a/src/accounts/templates/accounts/user_detail.html +++ b/src/accounts/templates/accounts/user_detail.html @@ -20,7 +20,8 @@ {% if request.user == user_ or request.user.is_superuser %} -   {% trans "edit profile"|title %} +   {% trans "profile"|title %} +   {% trans "list membership"|title %} {% endif %}
diff --git a/src/accounts/urls.py b/src/accounts/urls.py index ffa036b..f17994c 100644 --- a/src/accounts/urls.py +++ b/src/accounts/urls.py @@ -15,5 +15,5 @@ urlpatterns = patterns('', UserProfileUpdateView.as_view(), name='user_profile_update'), url(r'^(?P[\w@+.-]+)/subscriptions/?$', - ManageUserSubscriptionsView.as_view(), name='user_subscriptions'), + ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'), ) -- libgit2 0.21.2