aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-04-08 20:44:22 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-04-08 20:44:22 +0100
commit0802b7f04091c1022dce0d77cc806a46ecc4ebba (patch)
tree1e9e0b1e4a61c5717f11257e847eec63be882fb9 /templates/web
parent87442399df6984d8430af30c65a41f449a6b34f0 (diff)
Use correct URL for partial report photo.
Since multiple photo support, partial photos can only be looked at via their temporary URL, not their confirmed one.
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/base/around/_error_multiple.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/around/_error_multiple.html b/templates/web/base/around/_error_multiple.html
index 15089ba6b..b47a91ca9 100644
--- a/templates/web/base/around/_error_multiple.html
+++ b/templates/web/base/around/_error_multiple.html
@@ -13,7 +13,7 @@
[% IF partial_token %]
<p style="margin-top: 0; color: #cc0000;">
- <img align="right" src="/photo/[% partial_report.id %].jpeg" hspace="5">
+ <img align="right" src="[% partial_report.photos.first.url_temp %]" hspace="5">
[% loc("Thanks for uploading your photo. We now need to locate your problem, so please enter a nearby street name or postcode in the box above&nbsp;:") %]
</p>
[% END %]