Message ID | 1440440620-25937-39-git-send-email-damien.lespiau@intel.com |
---|---|
State | Changes Requested |
Headers | show |
> This follows a logical flow, commit message, patch then comments. > > Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Consider tabs: one for patch and one for commit message/comments. This should minimize the amount of scrolling/parsing messages, albeit at the expense of a small amount of context.
diff --git a/patchwork/templates/patchwork/patch.html b/patchwork/templates/patchwork/patch.html index 5a45016..eb09990 100644 --- a/patchwork/templates/patchwork/patch.html +++ b/patchwork/templates/patchwork/patch.html @@ -187,6 +187,15 @@ function toggle_headers(link_id, headers_id) </div> {% endfor %} +{% if patch.content %} +<h2>Patch</h2> +<div class="patch"> +<pre class="content"> +{{ patch|patchsyntax }} +</pre> +</div> +{% endif %} + {% for item in patch.answers %} {% if forloop.first %} <h2>Comments</h2> @@ -200,14 +209,4 @@ function toggle_headers(link_id, headers_id) </div> {% endfor %} -{% if patch.content %} -<h2>Patch</h2> -<div class="patch"> -<pre class="content"> -{{ patch|patchsyntax }} -</pre> -</div> -{% endif %} - - {% endblock %}
This follows a logical flow, commit message, patch then comments. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- patchwork/templates/patchwork/patch.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)