{% endif %}
<th>
+{% if not order.editable %}
{% if order.name == "name" %}
<a class="colactive" href="{% listurl order=order.reversed_name %}">
<span class="glyphicon glyphicon-chevron-{{ order.updown }}"></span>
Patch
</a>
{% else %}
-{% if not order.editable %}
<a class="colinactive" href="{% listurl order="name" %}">Patch</a>
+{% endif %}
{% else %}
<span class="colinactive">Patch</span>
-{% endif %}
{% endif %}
</th>
</th>
<th>
+{% if not order.editable %}
{% if order.name == "date" %}
<a class="colactive" href="{% listurl order=order.reversed_name %}">
<span class="glyphicon glyphicon-chevron-{{ order.updown }}"></span>
Date
</a>
{% else %}
-{% if not order.editable %}
<a class="colinactive" href="{% listurl order="date" %}">Date</a>
+{% endif %}
{% else %}
<span class="colinactive">Date</span>
-{% endif %}
{% endif %}
</th>
<th>
+{% if not order.editable %}
{% if order.name == "submitter" %}
<a class="colactive" href="{% listurl order=order.reversed_name %}">
<span class="glyphicon glyphicon-chevron-{{ order.updown }}"></span>
Submitter
</a>
{% else %}
-{% if not order.editable %}
<a class="colinactive" href="{% listurl order="submitter" %}">
Submitter
</a>
+{% endif %}
{% else %}
<span class="colinactive">Submitter</span>
-{% endif %}
{% endif %}
</th>
<th>
+{% if not order.editable %}
{% if order.name == "delegate" %}
<a class="colactive" href="{% listurl order=order.reversed_name %}">
<span class="glyphicon glyphicon-chevron-{{ order.updown }}"></span>
Delegate
</a>
{% else %}
-{% if not order.editable %}
<a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
+{% endif %}
{% else %}
<span class="colinactive">Delegate</span>
-{% endif %}
{% endif %}
</th>
<th>
+{% if not order.editable %}
{% if order.name == "state" %}
<a class="colactive" href="{% listurl order=order.reversed_name %}">
<span class="glyphicon glyphicon-chevron-{{ order.updown }}"></span>
State
</a>
{% else %}
-{% if not order.editable %}
<a class="colinactive" href="{% listurl order="state" %}">State</a>
+{% endif %}
{% else %}
<span class="colinactive">State</span>
-{% endif %}
{% endif %}
</th>