X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch.html;h=f18ee3b789e92de900f4814a79fb90027c693f03;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hp=2382978162c3e10ecdc6c8b5d8e782d7697dfd08;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html index 2382978..f18ee3b 100644 --- a/templates/patchwork/patch.html +++ b/templates/patchwork/patch.html @@ -4,7 +4,7 @@ {% load person %} {% load patch %} -{% block title %}{{patch.name}} - Patchwork{% endblock %} +{% block title %}{{patch.name}}{% endblock %} {% block heading %}{{patch.name}}{%endblock%} {% block body %} @@ -30,7 +30,7 @@ function toggle_headers(link_id, headers_id) - + @@ -43,10 +43,12 @@ function toggle_headers(link_id, headers_id) @@ -54,13 +56,19 @@ function toggle_headers(link_id, headers_id) - +{% if patch.commit_ref %} + + + + +{% endif %} {% if patch.delegate %} - + + {% endif %} @@ -81,6 +89,7 @@ function toggle_headers(link_id, headers_id)

Patch Properties

+ {% csrf_token %}
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{{ patch.commit_ref }}
Delegated to: - {{ patch.delegate.get_profile.name }}Delegated to:{{ patch.delegate.profile.name }}
@@ -90,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 }} @@ -118,18 +127,6 @@ function toggle_headers(link_id, headers_id)

Bundling

- {% endif %}
Create bundle: @@ -137,6 +134,7 @@ function toggle_headers(link_id, headers_id)
{{createbundleform.non_field_errors}}
{% endif %} + {% csrf_token %} {% if createbundleform.name.errors %}
{{createbundleform.name.errors}}
@@ -151,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 %}
-
{{ comment.submitter|personify }} - {{comment.date}}
+
{{ comment.submitter|personify:project }} - {{comment.date}}
 {{ comment|commentsyntax }}
 
{% endfor %} +{% if patch.content %}

Patch

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