From ec890c87afe58f48a212019315222ae27d92672d Mon Sep 17 00:00:00 2001 From: Chris Mytton Date: Mon, 2 Sep 2013 13:21:17 +0100 Subject: [Zurich] Show thumbnails on admin summary pages Closes mysociety/FixMyStreet-Commercial#406 --- templates/web/zurich/admin/problem_row.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/web/zurich/admin/problem_row.html') 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 @@ [% END %] + + [% IF problem.photo; + photo = problem.get_photo_params + %] + + [% END %] + + [% IF NOT no_edit %] [% loc('Edit') %] [% END %] -- cgit v1.2.3 From 1552107131d95beddcf042e3b1cd680f36b729ec Mon Sep 17 00:00:00 2001 From: Chris Mytton Date: Thu, 12 Sep 2013 11:08:20 +0100 Subject: [Zurich] Fix url for admin problem-row photos --- templates/web/zurich/admin/problem_row.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/web/zurich/admin/problem_row.html') diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html index 162b6992a..71b64839a 100644 --- a/templates/web/zurich/admin/problem_row.html +++ b/templates/web/zurich/admin/problem_row.html @@ -33,10 +33,8 @@ [% END %] - [% IF problem.photo; - photo = problem.get_photo_params - %] - + [% IF problem.photo %] + [% END %] -- cgit v1.2.3