X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=675f67ff22885c7738d1b3235c3c360032c236f5;hb=f09e982f58384946111d4157fd2b7c2b31b78612;hp=770f0051ea83e50f9d6f2494bc7da31972d0ab11;hpb=e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 770f005..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" %} @@ -50,7 +51,11 @@ {% ifequal order.name "name" %} Patch @@ -67,7 +72,11 @@ {% ifequal order.name "date" %} Date @@ -84,7 +93,11 @@ {% ifequal order.name "submitter" %} Submitter @@ -101,7 +114,11 @@ {% ifequal order.name "delegate" %} Delegate @@ -118,7 +135,11 @@ {% ifequal order.name "state" %} State @@ -134,7 +155,7 @@ -{% if page %} +{% if page.paginator.count %} {% for patch in page.object_list %} @@ -143,10 +164,10 @@ {% endif %} - {{ patch.name|default:"[no subject]" }} {{ patch.date|date:"Y-m-d" }} - {{ patch.submitter|personify }} + {{ patch.submitter|personify:project }} {{ patch.delegate.username }} {{ patch.state }}