diff options
Diffstat (limited to 'templates/web/zurich')
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 7 | ||||
-rw-r--r-- | templates/web/zurich/admin/index-sdm.html | 7 | ||||
-rw-r--r-- | templates/web/zurich/admin/reports.html | 7 |
3 files changed, 9 insertions, 12 deletions
diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html index f4fb6ea78..9bbbb6fd0 100644 --- a/templates/web/zurich/admin/index-dm.html +++ b/templates/web/zurich/admin/index-dm.html @@ -20,10 +20,9 @@ <tr> <th>[% loc('ID') %]</th> <th>[% loc('Description') %]</th> - <th><a href="[% INCLUDE sort_link choice = 'category' %]#[% hash %]">[% loc('Category') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'created' %]#[% hash %]">[% loc('Submitted') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'lastupdate' %]#[% hash %]">[% loc('Updated') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'state' %]#[% hash %]">[% loc('Status') %]</a></th> + [% FOREACH col IN [ [ 'category', loc('Category') ], [ 'created', loc('Submitted') ], [ 'lastupdate', loc('Updated') ], [ 'state', loc('Status') ] ] %] + <th><a href="[% INCLUDE sort_link choice = col.0 %]#[% hash %]">[% col.1 %] [% INCLUDE sort_arrow choice = col.0 %]</a></th> + [% END %] [% IF include_subdiv %] <th>[% loc('Subdivision/Body') %]</th> [% END %] diff --git a/templates/web/zurich/admin/index-sdm.html b/templates/web/zurich/admin/index-sdm.html index 17e14872d..a45bd9445 100644 --- a/templates/web/zurich/admin/index-sdm.html +++ b/templates/web/zurich/admin/index-sdm.html @@ -18,10 +18,9 @@ <tr> <th>[% loc('ID') %]</th> <th>[% loc('Description') %]</th> - <th><a href="[% INCLUDE sort_link choice = 'category' %]#[% hash %]">[% loc('Category') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'created' %]#[% hash %]">[% loc('Submitted') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'lastupdate' %]#[% hash %]">[% loc('Updated') %]</a></th> - <th><a href="[% INCLUDE sort_link choice = 'state' %]#[% hash %]">[% loc('Status') %]</a></th> + [% FOREACH col IN [ [ 'category', loc('Category') ], [ 'created', loc('Submitted') ], [ 'lastupdate', loc('Updated') ], [ 'state', loc('Status') ] ] %] + <th><a href="[% INCLUDE sort_link choice = col.0 %]#[% hash %]">[% col.1 %] [% INCLUDE sort_arrow choice = col.0 %]</a></th> + [% END %] [% IF NOT no_edit %] <th>*</th> [% END %] diff --git a/templates/web/zurich/admin/reports.html b/templates/web/zurich/admin/reports.html index 6ba18c9e7..77fc61a65 100644 --- a/templates/web/zurich/admin/reports.html +++ b/templates/web/zurich/admin/reports.html @@ -10,10 +10,9 @@ <tr> <th>[% loc('ID') %]</th> <th>[% loc('Description') %]</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> + [% FOREACH col IN [ [ 'category', loc('Category') ], [ 'created', loc('Submitted') ], [ 'lastupdate', loc('Updated') ], [ 'state', loc('Status') ] ] %] + <th><a href="[% INCLUDE sort_link choice = col.0 %]">[% col.1 %] [% INCLUDE sort_arrow choice = col.0 %]</a></th> + [% END %] <th>*</th> </tr> [% INCLUDE 'admin/problem_row.html' %] |