From 7166098aefdca933f41f1fd2165203867a0dcd89 Mon Sep 17 00:00:00 2001 From: Chris Mytton Date: Fri, 30 Aug 2013 16:48:46 +0100 Subject: [Zurich] Add full size image link to report admin This will allow the image to be opened full size in a fancybox, just like the front end of the site currently does. --- templates/web/zurich/admin/report_edit.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 5c5b1f7b1..4b3a8b8aa 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -62,7 +62,13 @@ [% IF problem.photo %] -
  • +
  • +[% photo = problem.get_photo_params %] +
    + [% IF photo.url_full %][% END + %]Photo of this report + [%- IF photo.url_full %]zoom[% END %] +

    -- cgit v1.2.3 From 6aa44aa13562b61560801319250685a5a3e6b040 Mon Sep 17 00:00:00 2001 From: Chris Mytton Date: Fri, 30 Aug 2013 16:49:55 +0100 Subject: [Zurich] Add fancybox js/css to report_edit page --- templates/web/zurich/admin/report_edit.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 4b3a8b8aa..5c5cdf182 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -1,4 +1,5 @@ [% + PROCESS "report/photo-js.html"; PROCESS "maps/zurich.html"; INCLUDE 'admin/header.html' title = tprintf(loc('Editing problem %d'), problem.id ), -- cgit v1.2.3