From: Belén Barros Peña Date: Sun, 2 Nov 2014 10:38:58 +0000 (+0000) Subject: patch: Put the download links next to the "Patch" header X-Git-Tag: v1.1.0~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb777bb52100197a1579f8c9f08914028b0994ba;p=thirdparty%2Fpatchwork.git patch: Put the download links next to the "Patch" header v2: Fix 'dowload' typo x 2 (Bryce Harrington) Signed-off-by: Belén Barros Peña Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 3fe42b48..18b9b542 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -11,6 +11,12 @@ h2 { margin: 18px 0 18px 0; } +h2 a, h2 span { + font-size: 14px; + padding-left: 5px; + font-weight: normal; +} + pre { line-height: 110%; background-color: white; diff --git a/patchwork/templates/patchwork/patch.html b/patchwork/templates/patchwork/patch.html index eb09990b..a41df6ed 100644 --- a/patchwork/templates/patchwork/patch.html +++ b/patchwork/templates/patchwork/patch.html @@ -44,17 +44,6 @@ function toggle_headers(link_id, headers_id) Message ID {{ patch.msgid }} - - - Download - - mbox -{% if patch.content %}| - patch -{% endif %} - State @@ -188,8 +177,19 @@ function toggle_headers(link_id, headers_id) {% endfor %} {% if patch.content %} -

Patch

-
+

+ Patch + hide +{% if patch.content %} + | + download patch +{% endif %} + | + download mbox +

+
 {{ patch|patchsyntax }}