aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-10-01 11:14:50 +0100
committerStruan Donald <struan@exo.org.uk>2019-10-02 14:19:51 +0100
commitf1673f9afad1f0be547efcb923deab937d808bca (patch)
tree806486dccb9eba642a22b18a6f7ea866ef8f33c8
parenta52e2d654e4b123aab9555037955a4a768f9fca2 (diff)
[IsleOfWight] update reference number text
Use Enquiry instead of Council as report does not go to council
-rw-r--r--templates/web/isleofwight/report/_council_sent_info.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/web/isleofwight/report/_council_sent_info.html b/templates/web/isleofwight/report/_council_sent_info.html
new file mode 100644
index 000000000..d9edac902
--- /dev/null
+++ b/templates/web/isleofwight/report/_council_sent_info.html
@@ -0,0 +1,17 @@
+[% SET duration_clause = problem.duration_string(c) %]
+[% IF duration_clause || problem.can_display_external_id %]
+ <p class="council_sent_info">
+ [%- IF problem.can_display_external_id %]
+ [%- IF duration_clause %]
+ [%- external_ref_clause = tprintf('Enquiry ref:&nbsp;%s', problem.external_id) %]
+ [%- ELSE %]
+ [%- external_ref_clause = tprintf(loc('%s ref:&nbsp;%s'), problem.external_body, problem.external_id) %]
+ [%- END %]
+ [%- END -%]
+ [% duration_clause %]
+ [%- IF external_ref_clause %]
+ [%- IF duration_clause %]. [% END %]
+ <strong>[% external_ref_clause %].</strong>
+ [%- END %]
+ </p>
+[% END %]