From 55a14ae186b790271fe6ffe4a62bb1bebea60b59 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 9 Jan 2017 11:12:37 +0000 Subject: [PATCH] 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 --- patchwork/templates/patchwork/submission.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 }}
-- 
2.47.3