aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/report/_main.html2
-rw-r--r--templates/web/default/report/photo.html8
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/default/report/_main.html b/templates/web/default/report/_main.html
index 3a9e60e7b..c21709ed0 100644
--- a/templates/web/default/report/_main.html
+++ b/templates/web/default/report/_main.html
@@ -15,6 +15,6 @@
[% add_links( problem.detail ) | html_para %]
-[% INCLUDE 'report/photo.html' object=problem center=1 %]
+[% INCLUDE 'report/photo.html' object=problem %]
diff --git a/templates/web/default/report/photo.html b/templates/web/default/report/photo.html
index 451a0479c..02ab9228b 100644
--- a/templates/web/default/report/photo.html
+++ b/templates/web/default/report/photo.html
@@ -1,6 +1,8 @@
[% IF c.cobrand.allow_photo_display && object.photo %]
[% photo = object.get_photo_params %]
-<p[% ' align="center"' IF center %]>
- <img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]">
-</p>
+<div class="update-img">
+ [% IF photo.url_full %]<a href="[% photo.url_full %]" rel="fancy">[% END
+ %]<img alt="Photo of this report" [% IF photo.height %]height="[% photo.height %]" width="[% photo.width %]"[% END %] src="[% photo.url %]">
+ [%- IF photo.url_full %]<span>zoom</span></a>[% END %]
+</div>
[% END %]