1 [% BLOCK get_hold_notify %]
2 [% # get hash of sms carriers keyed by id:
3 temp = ctx.search_csc('active','t');
4 tcos = { '0' => 'None' };
10 [% SET any_notify = 0 %]
12 [% IF h.email_notify == 't' %]
14 <strong>[% l("Email") %]</strong>: [% l("Yes") %]<br/>
16 [% IF h.phone_notify %]
18 <strong>[% l("Phone") %]</strong>: [% h.phone_notify | html %]<br/>
21 [% any_notify = 1, cid = h.sms_carrier; %]
22 <strong>[% l("SMS") %]</strong>: [% h.sms_notify | html %] ([% tcos.$cid.name() | html %])<br/>
24 [% UNLESS any_notify %]
25 <span style="color:red">[% l("None") %]</span>