]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Integrate cover letter support
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 4 Mar 2016 15:24:00 +0000 (15:24 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 14 Apr 2016 16:28:57 +0000 (17:28 +0100)
commit2a2c22d411bf43f908ecab8f2c66a7b52d946349
tree99c316fd78c87ba1decbf778073e56967b90780f
parent7bf4304821ab70bf4c86d7139e0c1a4753f6e5b8
views: Integrate cover letter support

There isn't really any need to list cover letters right now, seeing as
they're really only valuable in the context of series. However, if
someone requests a cover letter by ID then this should be displayed.
To this effect, add a new "covers" endpoint that can display the basic
elements of the cover letter. This includes redirects from/to the
"patches" endpoint.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/templates/patchwork/submission.html [moved from patchwork/templates/patchwork/patch.html with 77% similarity]
patchwork/templatetags/syntax.py
patchwork/tests/test_detail.py [new file with mode: 0644]
patchwork/tests/utils.py
patchwork/urls.py
patchwork/views/cover.py [new file with mode: 0644]
patchwork/views/patch.py