aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-03-21 12:12:48 +0000
committerDave Arter <davea@mysociety.org>2018-04-10 10:42:34 +0100
commitf2b92da63ac147d18847396d9fb3d82231d73158 (patch)
tree2329b8e3db6d1f0d84b5fa85fe279eef625965e9
parentad26ac5a4266188150174efab54dfe8d8877112d (diff)
[BANES] Include FMS ID as council ref on sent reports
-rw-r--r--templates/web/bathnes/report/_council_sent_info.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/web/bathnes/report/_council_sent_info.html b/templates/web/bathnes/report/_council_sent_info.html
new file mode 100644
index 000000000..1963020bc
--- /dev/null
+++ b/templates/web/bathnes/report/_council_sent_info.html
@@ -0,0 +1,17 @@
+[% SET duration_clause = problem.duration_string(c) %]
+[% IF duration_clause || problem.whensent %]
+ <p class="council_sent_info">
+ [%- IF problem.whensent %]
+ [%- IF duration_clause %]
+ [%- external_ref_clause = tprintf(loc('Council ref:&nbsp;%s'), problem.id) %]
+ [%- ELSE %]
+ [%- external_ref_clause = tprintf(loc('%s ref:&nbsp;%s'), problem.external_body, problem.id) %]
+ [%- END %]
+ [%- END -%]
+ [% duration_clause %]
+ [%- IF external_ref_clause %]
+ [%- IF duration_clause %]. [% END %]
+ <strong>[% external_ref_clause %].</strong>
+ [%- END %]
+ </p>
+[% END %]