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) - + @@ -43,10 +43,12 @@ function toggle_headers(link_id, headers_id) @@ -54,19 +56,19 @@ function toggle_headers(link_id, headers_id) - {% if patch.commit_ref %} - {% endif %} {% if patch.delegate %} - + + {% endif %} @@ -97,14 +99,14 @@ function toggle_headers(link_id, headers_id) - -
Submitter{{ patch.submitter|personify }}
{{ patch.submitter|personify:project }}
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: - {{ 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 %}
Create bundle: @@ -173,53 +162,38 @@ function toggle_headers(link_id, headers_id)
-
{% endif %} -{% if actionsform %} -
-

Actions

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

Pull-request

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

Comments

{% for comment in patch.comments %}
-
{{ comment.submitter|personify }} - {{comment.date}}
+
{{ comment.submitter|personify:project }} - {{comment.date}}
 {{ comment|commentsyntax }}
 
{% endfor %} +{% if patch.content %}

Patch

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