X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=597806b53d3692abe9cc982d45f48ea27cc5c860;hb=90d53c717d5d704da284cfa3b1484c11bd6c0bb1;hp=0a15e9c7b39eec98aa11095afa55df8b3ab0661e;hpb=c561ebe710d6e6a43aa4afc6c2036a215378ce87;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 0a15e9c..597806b 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -24,13 +24,17 @@ - {% if patchform or bundle %} + {% if user.is_authenticated %} + + - {% if patchform or bundle %} + + {% if user.is_authenticated %} @@ -78,6 +107,7 @@ >{{ patch.name }} + {% endfor %}
{% endif %} {% ifequal order.name "name" %} Patch {% else %} Patch @@ -40,6 +44,10 @@ {% ifequal order.name "date" %} Date {% else %} Date @@ -49,15 +57,36 @@ {% ifequal order.name "submitter" %} Submiter + href="{% listurl order=order.reversed_name %}"> Submitter {% else %} Submitter {% endifequal %} + {% ifequal order.name "delegate" %} + Delegate + {% else %} + Delegate + {% endifequal %} + {% ifequal order.name "state" %} State {% else %} State @@ -68,8 +97,8 @@ {% if page %} {% for patch in page.object_list %} -
{{ patch.date|date:"Y-m-d" }} {{ patch.submitter|personify }}{{ patch.delegate.username }} {{ patch.state }}