diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-05-15 10:56:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-05-15 10:56:58 +0100 |
commit | 405e702f0b7f1b99946aea0d8ad028c53e5db53a (patch) | |
tree | 794c4f9018dce0b7dcfc6bd4d0378cf66118b040 /templates | |
parent | 60c6248c2fabb6a2144549e89f6bb238264b7d95 (diff) |
Fix admin photo display.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/zurich/admin/report_edit-sdm.html | 3 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html index 85fa0a067..fcdb03602 100644 --- a/templates/web/zurich/admin/report_edit-sdm.html +++ b/templates/web/zurich/admin/report_edit-sdm.html @@ -47,8 +47,7 @@ <li><span class="mock-label">[% loc('Created:') %]</span> [% PROCESS format_date this_date=problem.created %] [% problem.created.hms %]</li> [% IF problem.photo %] -[% photo = problem.get_photo_params %] -<li><img alt="" src="[% c.cobrand.base_url %][% photo.url %]"></li> +<li><img alt="" src="[% c.cobrand.base_url %]/photo/[% problem.photo %].temp.jpeg"></li> [% END %] <li><span class="mock-label">[% loc('State:') %]</span> [% states.${problem.state} %]</li> diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index b604a7ea0..5c5b1f7b1 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -62,8 +62,7 @@ [% IF problem.photo %] -[% photo = problem.get_photo_params %] -<li><img alt="" src="[% c.cobrand.base_url %][% photo.url %]"> +<li><img alt="" src="[% c.cobrand.base_url %]/photo/[% problem.photo %].temp.jpeg"> <br> <input type="submit" name="rotate_photo" value="[% loc('Rotate Left') %]"> <input type="submit" name="rotate_photo" value="[% loc('Rotate Right') %]"> |