aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/report/_main.html2
-rw-r--r--templates/web/default/report/photo.html8
-rw-r--r--templates/web/fixmystreet/report/_main.html2
-rw-r--r--templates/web/fixmystreet/report/photo.html8
-rw-r--r--templates/web/southampton/report/photo.html6
5 files changed, 7 insertions, 19 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 %]
diff --git a/templates/web/fixmystreet/report/_main.html b/templates/web/fixmystreet/report/_main.html
index 8d9792a6d..2f54b55f5 100644
--- a/templates/web/fixmystreet/report/_main.html
+++ b/templates/web/fixmystreet/report/_main.html
@@ -14,7 +14,7 @@
[% END %]
</em></p>
[% INCLUDE 'report/_support.html' %]
- [% INCLUDE 'report/photo.html' object=problem center=1 %]
+ [% INCLUDE 'report/photo.html' object=problem %]
[% add_links( problem.detail ) | html_para %]
diff --git a/templates/web/fixmystreet/report/photo.html b/templates/web/fixmystreet/report/photo.html
deleted file mode 100644
index 02ab9228b..000000000
--- a/templates/web/fixmystreet/report/photo.html
+++ /dev/null
@@ -1,8 +0,0 @@
-[% IF c.cobrand.allow_photo_display && object.photo %]
-[% photo = object.get_photo_params %]
-<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 %]
diff --git a/templates/web/southampton/report/photo.html b/templates/web/southampton/report/photo.html
deleted file mode 100644
index 07b6a8558..000000000
--- a/templates/web/southampton/report/photo.html
+++ /dev/null
@@ -1,6 +0,0 @@
-[% IF c.cobrand.allow_photo_display && object.photo %]
-[% photo = object.get_photo_params %]
-<p>
- <img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]">
-</p>
-[% END %]