X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=675f67ff22885c7738d1b3235c3c360032c236f5;hb=d4a2c1f8792f52fec0c881ab38c91635840a50c0;hp=43e05503429f09af61999dfd4706c7a7545bb5cf;hpb=f7a3c5dff0da19e6bd737c51187a1f5aa7373c67;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 43e0550..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 }} @@ -186,7 +207,7 @@ - +