aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-04-24 13:49:29 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-05-03 11:19:35 +0100
commit4748056ee034fb67b6072a3f296689aa829dddf4 (patch)
tree65ba5b1208079aa1c811369adda03ca28a8db5a1 /templates
parent654fb3942a04e53c09d7cf516c7bf6a3523d5557 (diff)
Do not use SET with html filter.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/report_edit.html2
-rw-r--r--templates/web/zurich/admin/report_edit-sdm.html4
-rw-r--r--templates/web/zurich/admin/report_edit.html6
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/base/admin/report_edit.html b/templates/web/base/admin/report_edit.html
index a28950e27..e38932d7f 100644
--- a/templates/web/base/admin/report_edit.html
+++ b/templates/web/base/admin/report_edit.html
@@ -47,7 +47,7 @@ class="admin-offsite-link">[% problem.latitude %], [% problem.longitude %]</a>
[% END %]
<small>([%
- SET postcode_safe = problem.postcode | html;
+ postcode_safe = problem.postcode | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), postcode_safe )
%],
[% IF problem.used_map %][% loc('used map') %][% ELSE %][% loc("didn't use map") %][% END %])</small>
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html
index d07629d01..e6b17b8f0 100644
--- a/templates/web/zurich/admin/report_edit-sdm.html
+++ b/templates/web/zurich/admin/report_edit-sdm.html
@@ -30,7 +30,7 @@
<dd>[% problem.detail | html %]</dd>
[% IF problem.extra.original_detail %]
<dd>[%
- SET safe = problem.extra.original_detail | html;
+ safe = problem.extra.original_detail | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), safe )
%]</dd>
[% END %]
@@ -53,7 +53,7 @@
[% END %]
</dd>
<dd>[%
- SET safe = problem.postcode | html;
+ safe = problem.postcode | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), safe )
%]</dd>
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index 58cf9d2a4..d6f9c4c39 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -32,7 +32,7 @@
<dd>[% problem.detail | html %]</dd>
[% IF problem.extra.original_detail %]
<dd>[%
- SET detail_safe = problem.extra.original_detail | html;
+ detail_safe = problem.extra.original_detail | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), detail_safe )
%]</dd>
[% END %]
@@ -48,7 +48,7 @@
[% IF problem.extra.original_detail %]
<dd>[%
- SET detail_safe = problem.extra.original_detail | html;
+ detail_safe = problem.extra.original_detail | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), detail_safe )
%]</dd>
[% END %]
@@ -72,7 +72,7 @@
[% END %]
</dd>
<dd>[%
- SET safe = problem.postcode | html;
+ safe = problem.postcode | html;
tprintf( loc('originally entered: &ldquo;%s&rdquo;'), safe )
%]</dd>