X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=43e05503429f09af61999dfd4706c7a7545bb5cf;hb=88e77da6413f137488da91a3f1ab1a67b261cfb4;hp=5518805b036b52434637f0c02792003e8a6b0863;hpb=c105cb0f107a7459abc8c33988d2da24582a7a5a;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 5518805..43e0550 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -9,6 +9,20 @@ {% include "patchwork/filters.html" %} + {% if order.editable %} + +
+ {% csrf_token %} + + + + + +
+ + {% endif %} @@ -20,6 +34,7 @@ {% endif %}
+{% csrf_token %} @@ -40,7 +55,11 @@ >Patch {% else %} + {% if not order.editable %} Patch + {% else %} + Patch + {% endif %} {% endifequal %} @@ -53,7 +72,11 @@ >Date {% else %} + {% if not order.editable %} Date + {% else %} + Date + {% endif %} {% endifequal %} @@ -66,7 +89,11 @@ >Submitter {% else %} + {% if not order.editable %} Submitter + {% else %} + Submitter + {% endif %} {% endifequal %} @@ -79,7 +106,11 @@ >Delegate {% else %} + {% if not order.editable %} Delegate + {% else %} + Delegate + {% endif %} {% endifequal %} @@ -92,7 +123,11 @@ >State {% else %} + {% if not order.editable %} State + {% else %} + State + {% endif %} {% endifequal %} @@ -109,7 +144,7 @@ {% endif %} + >{{ patch.name|default:"[no subject]" }} @@ -163,15 +198,6 @@

Bundling

{{ patch.name }} {{ patch.date|date:"Y-m-d" }} {{ patch.submitter|personify }} {{ patch.delegate.username }}
-
Create bundle: