aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-08-14 17:10:55 +0100
committerDave Arter <davea@mysociety.org>2018-08-14 17:26:26 +0100
commite1616a3543d2b49e6c74d9ac043b36e2e3b0c1fc (patch)
tree875a29c9746ac3dd2235eef6f2c6c8ac064b0667 /templates
parent6e915868900f9b5e17b221e5077b82c3bbded325 (diff)
Don’t show photo tips if cobrand doesn’t allow photo upload
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/after_photo.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/report/new/after_photo.html b/templates/web/base/report/new/after_photo.html
index b337977e4..4b28bf7f7 100644
--- a/templates/web/base/report/new/after_photo.html
+++ b/templates/web/base/report/new/after_photo.html
@@ -1,3 +1,4 @@
+[% IF c.cobrand.allow_photo_upload %]
<div class="description_tips" aria-label="[% loc('Tips for perfect photos') %]">
<ul class="do">
<li>[% loc('For best results include a close-up and a wide shot') %]</li>
@@ -6,3 +7,4 @@
<li>[% loc('Avoid personal information and vehicle number plates') %]</li>
</ul>
</div>
+[% END %] \ No newline at end of file