X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch.html;h=c04e32b4dda26bb5956fffed5f4c380a12002222;hp=7c249ecb2c623ce34ef0bf3b166729b85f41299d;hb=ce15e005dfa0bc62d0ff4c020ebe43e9dd7e53ad;hpb=ac24fc60bebb67c04c6a343084efeabb61b46613 diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html index 7c249ec..c04e32b 100644 --- a/templates/patchwork/patch.html +++ b/templates/patchwork/patch.html @@ -30,7 +30,7 @@ function toggle_headers(link_id, headers_id) - + @@ -43,10 +43,12 @@ function toggle_headers(link_id, headers_id) @@ -54,18 +56,18 @@ function toggle_headers(link_id, headers_id) - {% if patch.commit_ref %} - {% endif %} {% if patch.delegate %} - {% endif %} @@ -87,6 +89,7 @@ function toggle_headers(link_id, headers_id)

Patch Properties

+ {% csrf_token %}
Submitter{{ patch.submitter|personify }}
{{ patch.submitter|personify }}
Date
Download - mbox | - mbox +{% if patch.content %}| + patch +{% endif %}
{{ patch.get_absolute_url }}
State + State {{ patch.state.name }}{% if patch.archived %}, archived{% endif %}
Commit + Commit {{ patch.commit_ref }}
Delegated to: + Delegated to: {{ patch.delegate.get_profile.name }}
@@ -96,14 +99,14 @@ function toggle_headers(link_id, headers_id) - -
Change state:
Delegate to: + Delegate to: {{ patchform.delegate }} {{ patchform.delegate.errors }}
Archived: + Archived: {{ patchform.archived }} {{ patchform.archived.errors }} @@ -124,18 +127,6 @@ function toggle_headers(link_id, headers_id)

Bundling

- {% endif %}
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 %}
-
{% endif %} -{% if actionsform %} -
-

Actions

- - - - - -
Ack: -
- - -
-
- -
- -{% endif %}
- - +{% if patch.pull_url %} +

Pull-request

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

Comments

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

Patch

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