From: jordan Date: Sat, 9 Jun 2012 13:15:36 +0000 (+0000) Subject: make user subscriptions view decoratable X-Git-Tag: live~47 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/7deaf42044d82ea939afa0b72b67c1e8877925c8?hp=b48485bf3bf42feb7d189d55d2551c40d75bd992 make user subscriptions view decoratable git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1270 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/views/users.py b/forum/views/users.py index 0777005..84f1cdf 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -394,6 +394,9 @@ def user_favorites(request, user, **kwargs): @user_view('users/subscriptions.html', 'subscriptions', _('subscription'), _('subscriptions'), True, tabbed=False) def user_subscriptions(request, user, **kwargs): + return _user_subscriptions(request, user, **kwargs) + +def _user_subscriptions(request, user, **kwargs): enabled = True tab = request.GET.get('tab', "settings")