X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=675f67ff22885c7738d1b3235c3c360032c236f5;hb=d4a2c1f8792f52fec0c881ab38c91635840a50c0;hp=bc9abe943e62364bd1a5fbcea698e9e52c79467b;hpb=16837a924858d296f288a0e9566f16e33f21195c;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index bc9abe9..675f67f 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -1,5 +1,6 @@ {% load person %} {% load listurl %} +{% load static %} {% include "patchwork/pagination.html" %} @@ -12,6 +13,7 @@ {% if order.editable %}
+ {% csrf_token %} @@ -33,6 +35,7 @@ {% endif %} +{% csrf_token %} @@ -48,7 +51,11 @@ {% ifequal order.name "name" %} Patch @@ -65,7 +72,11 @@ {% ifequal order.name "date" %} Date @@ -82,7 +93,11 @@ {% ifequal order.name "submitter" %} Submitter @@ -99,7 +114,11 @@ {% ifequal order.name "delegate" %} Delegate @@ -116,7 +135,11 @@ {% ifequal order.name "state" %} State @@ -132,7 +155,7 @@ -{% if page %} +{% if page.paginator.count %} {% for patch in page.object_list %} @@ -141,10 +164,10 @@ {% endif %} - - + @@ -184,7 +207,7 @@
{{ patch.name|default:"[no subject]" }} {{ patch.date|date:"Y-m-d" }}{{ patch.submitter|personify }}{{ patch.submitter|personify:project }} {{ patch.delegate.username }} {{ patch.state }}
- +
@@ -196,15 +219,6 @@

Bundling

-
Create bundle: