diff options
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 1 | ||||
-rw-r--r-- | templates/web/zurich/admin/index-sdm.html | 1 | ||||
-rw-r--r-- | templates/web/zurich/admin/problem_row.html | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html index 530e72c59..e0b62d5d2 100644 --- a/templates/web/zurich/admin/index-dm.html +++ b/templates/web/zurich/admin/index-dm.html @@ -26,6 +26,7 @@ [% IF include_subdiv %] <th>[% loc('Subdivision/Body') %]</th> [% END %] + <th>[% loc('Photo') %]</th> <th class='edit'>*</th> </tr> <tr class="filter-row"> diff --git a/templates/web/zurich/admin/index-sdm.html b/templates/web/zurich/admin/index-sdm.html index 76593ead0..707bb2d9d 100644 --- a/templates/web/zurich/admin/index-sdm.html +++ b/templates/web/zurich/admin/index-sdm.html @@ -21,6 +21,7 @@ [% 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 %] + <th>[% loc('Photo') %]</th> [% IF NOT no_edit %] <th class='edit'>*</th> [% END %] diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html index 8b1a30cb0..162b6992a 100644 --- a/templates/web/zurich/admin/problem_row.html +++ b/templates/web/zurich/admin/problem_row.html @@ -32,6 +32,14 @@ </td> [% END %] + <td> + [% IF problem.photo; + photo = problem.get_photo_params + %] + <img class="img" height="60" width="90" src="[% photo.url_fp %]" alt=""> + [% END %] + </td> + [% IF NOT no_edit %] <td><a href="[% c.uri_for( 'report_edit', problem.id ) %]">[% loc('Edit') %]</a></td> [% END %] |