aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/photo.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/web/base/report/photo.html b/templates/web/base/report/photo.html
index 9be5b6538..52e6ed64a 100644
--- a/templates/web/base/report/photo.html
+++ b/templates/web/base/report/photo.html
@@ -1,9 +1,15 @@
[% IF c.cobrand.allow_photo_display(object) && object.photo %]
- [% FOR photo IN object.photos %]
+ [% IF object.photos.size > 1 %]
+ <div class="update-img-set">
+ [% END %]
+ [% FOR photo IN object.photos %]
<div class="update-img">
<a href="[% c.cobrand.base_url %][% photo.url_full %]" rel="fancy">
<img alt="Photo of this report" src="[% c.cobrand.base_url %][% photo.url %]">
<span>zoom</span></a>
</div>
- [% END %]
+ [% END %]
+ [% IF object.photos.size > 1 %]
+ </div>
+ [% END %]
[% END %]