]> git.ozlabs.org Git - patchwork/commitdiff
[views] Don't use bundle owner for current user
authorJeremy Kerr <jk@ozlabs.org>
Wed, 24 Sep 2008 23:17:00 +0000 (09:17 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 25 Sep 2008 00:59:37 +0000 (10:59 +1000)
This made the top auth area show the bundle owner's details, not
the bundle owner's.

Bundle owner can still be accessed through bundle.owner in the template.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/views/bundle.py

index 5f990c44dfe0d1f705370cbd8d8e3a922a623fe4..d8e4e2fc82ca65282bd78037cec9b5719d03a62f 100644 (file)
@@ -173,6 +173,6 @@ def public(request, username, bundlename):
             filter_settings = filter_settings,
             patches = bundle.patches.all())
 
-    context.update({'bundle': bundle,
-            'user': user});
+    context['bundle'] = bundle
+
     return render_to_response('patchwork/bundle-public.html', context)