aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/zurich/admin/index-dm.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html
index 76ed30aed..71458dab9 100644
--- a/templates/web/zurich/admin/index-dm.html
+++ b/templates/web/zurich/admin/index-dm.html
@@ -15,15 +15,17 @@
[% INCLUDE 'admin/footer.html' %]
+[% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - c.req.params.d ) %][% ELSE %][% c.uri_with( { o => choice } ) %][% END %][% END %]
+
[% BLOCK list %]
<table cellspacing="0" cellpadding="2" border="1">
<tr>
<th>[% loc('ID') %]</th>
<th>[% loc('Description') %]</th>
- <th>[% loc('Category') %]</th>
- <th>[% loc('Submitted') %]</th>
- <th>[% loc('Updated') %]</th>
- <th>[% loc('Status') %]</th>
+ <th><a href="[% INCLUDE sort_link choice = 'category' %]">[% loc('Category') %]</a></th>
+ <th><a href="[% INCLUDE sort_link choice = 'created' %]">[% loc('Submitted') %]</a></th>
+ <th><a href="[% INCLUDE sort_link choice = 'lastupdate' %]">[% loc('Updated') %]</a></th>
+ <th><a href="[% INCLUDE sort_link choice = 'state' %]">[% loc('Status') %]</a></th>
[% IF include_subdiv %]
<th>[% loc('Subdivision/Body') %]</th>
[% END %]