X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch.html;h=f18ee3b789e92de900f4814a79fb90027c693f03;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hp=c716a3341f5a0e75368bd8eff36038ef9c8fdea1;hpb=482ba5ac5e2fb71a8ae26ae9d5c5c72c33c35b23;p=patchwork diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html index c716a33..f18ee3b 100644 --- a/templates/patchwork/patch.html +++ b/templates/patchwork/patch.html @@ -30,7 +30,7 @@ function toggle_headers(link_id, headers_id)
Submitter | -{{ patch.submitter|personify }} | {{ patch.submitter|personify:project }} | ||||
---|---|---|---|---|---|---|
Date | @@ -43,10 +43,12 @@ function toggle_headers(link_id, headers_id)||||||
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: - | {{ patch.delegate.get_profile.name }} | +Delegated to: | +{{ patch.delegate.profile.name }} | |||
Delegate to: + | Delegate to: | {{ patchform.delegate }} {{ patchform.delegate.errors }} | ||||
Archived: + | Archived: |
{{ patchform.archived }}
{{ patchform.archived.errors }}
@@ -125,19 +127,6 @@ function toggle_headers(link_id, headers_id)
Bundling
-
-
-{% endif %}
Actions-
Pull-request+{{ patch.pull_url }} +{% endif %}Comments{% for comment in patch.comments %}
-
{% endfor %}
+{% if patch.content %}
+
Patch{{ patch|patchsyntax }} |