diff options
author | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
commit | 09dacfc6b8bf62addeee16c20b1d90c2a256da96 (patch) | |
tree | 7caa2bf9e92227ab74448f9b746dd28bbcb81b2a /templates/web/zurich/admin/index-dm.html | |
parent | 585e57484f9c6332668bf1ac0a6a3b39dbe32223 (diff) | |
parent | cea89fb87a96943708a1db0f646492fbfaaf000f (diff) |
Merge tag 'v3.1' into fiksgatami-devfiksgatami-dev
Diffstat (limited to 'templates/web/zurich/admin/index-dm.html')
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html index 39fa34dcb..eb791e8d2 100644 --- a/templates/web/zurich/admin/index-dm.html +++ b/templates/web/zurich/admin/index-dm.html @@ -6,34 +6,13 @@ </div> <h2 id="submitted">[% loc('Submitted') %]</h2> -[% INCLUDE list, problems = submitted.all, hash = 'submitted' %] +[% INCLUDE 'admin/_index_table.html' problems=submitted.all hash='submitted' %] <h2 id="feedback_pending">Rückmeldung ausstehend</h2> -[% INCLUDE list, problems = approval.all, hash = 'feedback_pending' %] +[% INCLUDE 'admin/_index_table.html' problems=approval.all hash='feedback_pending' %] <h2 id="alle">[% loc('All reports') %]</h2> -[% INCLUDE list, problems = other.all, include_subdiv = 1, hash = 'alle' %] +[% INCLUDE 'admin/_index_table.html' problems=other.all include_subdiv=1 hash='alle' %] [% INCLUDE 'pagination.html', admin = 1, param = 'p', hash = 'alle' %] [% INCLUDE 'admin/footer.html' %] - -[% BLOCK list %] -<table cellspacing="0" cellpadding="2" border="1"> - <tr> - <th>[% loc('ID') %]</th> - <th>[% loc('Description') %]</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 %] - <th>[% loc('Photo') %]</th> - <th class='edit'>*</th> - </tr> - <tr class="filter-row"> - <td colspan="8"><input type="text" placeholder="[%= loc('Filter report list') %]" /></td> - </tr> -[% INCLUDE 'admin/problem_row.html' %] -</table> -[% END %] |