From 0dc357497d9ff6eb338d40c3eccbcb45478fbf05 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sat, 1 Nov 2014 23:29:20 +0000 Subject: [PATCH] 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 --- patchwork/templates/patchwork/patch.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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 %} -- 2.47.3