Change title of view patch page to actually be name of patch
authorMagnus Hagander <magnus@hagander.net>
Mon, 14 Jul 2014 15:30:54 +0000 (17:30 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 14 Jul 2014 15:30:54 +0000 (17:30 +0200)
pgcommitfest/commitfest/views.py

index c6a69c131cfd326cf73b1050ae5bba099733ff1c..a7d7498de67e09bcb9724f3ab35153e8f7eb6983 100644 (file)
@@ -135,7 +135,7 @@ def patch(request, cfid, patchid):
                'is_committer': is_committer,
                'is_this_committer': is_this_committer,
                'is_reviewer': is_reviewer,
-               'title': 'View patch',
+               'title': patch.name,
                'breadcrumbs': [{'title': cf.title, 'href': '/%s/' % cf.pk},],
                }, context_instance=RequestContext(request))