From: Stephen Finucane Date: Mon, 9 Jan 2017 11:12:37 +0000 (+0000) Subject: templates: Use buttons for patch download links X-Git-Tag: v2.0.0-rc1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55a14ae186b790271fe6ffe4a62bb1bebea60b59;p=thirdparty%2Fpatchwork.git templates: Use buttons for patch download links We'll make use of this to enable downloading of patches with mboxes. In addition, the 'hide' link for patches and cover letters is removed. There's no way to enable this by default and the use cases are dubious at best. Signed-off-by: Stephen Finucane Reviewed-by: Daniel Axtens --- diff --git a/patchwork/templates/patchwork/submission.html b/patchwork/templates/patchwork/submission.html index 21c345fe..a5914d78 100644 --- a/patchwork/templates/patchwork/submission.html +++ b/patchwork/templates/patchwork/submission.html @@ -281,14 +281,16 @@ function toggle_div(link_id, headers_id) {% if submission.diff %}

Patch - hide - | - download patch - | - download mbox +
+ diff + mbox +

+
 {{ submission|patchsyntax }}