X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpatch-list.html;h=597806b53d3692abe9cc982d45f48ea27cc5c860;hb=b8b0ac61c96b7ba6fb3bd22b7db1dfb45e23fdfc;hp=a0a8cec98a7c579bbcb729302626f33fa6774352;hpb=053c7a136bb8f2c3310708af4340aa7a2a6117e7;p=patchwork diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index a0a8cec..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 @@ -69,7 +98,7 @@ {% if page %} {% for patch in page.object_list %}
{{ patch.date|date:"Y-m-d" }} {{ patch.submitter|personify }}{{ patch.delegate.username }} {{ patch.state }}