From: Damien Lespiau Date: Sat, 1 Nov 2014 23:29:20 +0000 (+0000) Subject: patch: Pull the patch between the commit message and comments X-Git-Tag: v1.1.0~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc357497d9ff6eb338d40c3eccbcb45478fbf05;p=thirdparty%2Fpatchwork.git patch: Pull the patch between the commit message and comments This follows a logical flow, commit message, patch then comments. Signed-off-by: Damien Lespiau --- diff --git a/patchwork/templates/patchwork/patch.html b/patchwork/templates/patchwork/patch.html index 5a450162..eb09990b 100644 --- a/patchwork/templates/patchwork/patch.html +++ b/patchwork/templates/patchwork/patch.html @@ -187,6 +187,15 @@ function toggle_headers(link_id, headers_id) {% endfor %} +{% if patch.content %} +

Patch

+
+
+{{ patch|patchsyntax }}
+
+
+{% endif %} + {% for item in patch.answers %} {% if forloop.first %}

Comments

@@ -200,14 +209,4 @@ function toggle_headers(link_id, headers_id) {% endfor %} -{% if patch.content %} -

Patch

-
-
-{{ patch|patchsyntax }}
-
-
-{% endif %} - - {% endblock %}