aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-06-27 10:48:01 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-06-27 10:48:01 +0100
commit706c740b63b974cd61008e5fadfe8a6db79a4aa1 (patch)
tree2ba5ce6540d6cde8a803b3e3bc61b4df5ae96df3
parent73143478bbdf63662d14045258f7bf7d9a35c6b9 (diff)
Use relative paths for photos on a report page.
-rw-r--r--templates/web/base/report/photo.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/report/photo.html b/templates/web/base/report/photo.html
index 52e6ed64a..aa82baef6 100644
--- a/templates/web/base/report/photo.html
+++ b/templates/web/base/report/photo.html
@@ -4,8 +4,8 @@
[% 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 %]">
+ <a href="[% photo.url_full %]" rel="fancy">
+ <img alt="Photo of this report" src="[% photo.url %]">
<span>zoom</span></a>
</div>
[% END %]