X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch.html;h=813622b18ef4270cec89dac51c0bae3670dd2355;hb=a37842591183a2302f580ee4973a19e35661baf0;hp=7c249ecb2c623ce34ef0bf3b166729b85f41299d;hpb=ac24fc60bebb67c04c6a343084efeabb61b46613;p=patchwork diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html index 7c249ec..813622b 100644 --- a/templates/patchwork/patch.html +++ b/templates/patchwork/patch.html @@ -43,10 +43,12 @@ function toggle_headers(link_id, headers_id) Download - mbox | - mbox +{% if patch.content %}| + patch +{% endif %} @@ -87,6 +89,7 @@ function toggle_headers(link_id, headers_id)

Patch Properties

+ {% csrf_token %} @@ -124,18 +127,6 @@ function toggle_headers(link_id, headers_id)

Bundling

Change state:
-
Create bundle: @@ -143,6 +134,7 @@ function toggle_headers(link_id, headers_id)
{{createbundleform.non_field_errors}}
{% endif %} + {% csrf_token %} {% if createbundleform.name.errors %}
{{createbundleform.name.errors}}
@@ -157,6 +149,7 @@ function toggle_headers(link_id, headers_id)
Add to bundle: + {% csrf_token %} - - - - -
Ack: - - - - -
- - - -{% endif %}
- - +{% if patch.pull_url %} +

Pull-request

+{{ patch.pull_url }} +{% endif %}

Comments

{% for comment in patch.comments %} @@ -210,11 +187,14 @@ function toggle_headers(link_id, headers_id) {% endfor %} +{% if patch.content %}

Patch

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