[% PROCESS "opac/parts/header.tt2"; WRAPPER "opac/parts/myopac/prefs_base.tt2"; myopac_page = "prefs"; prefs_page = 'prefs_notify' %]
[% setting = 'opac.hold_notify' %] [% IF ctx.updated_user_settings %] [% END %] [% setting = 'opac.hold_notify' %] [%# WCAG insists that labels for checkboxes contain the input or directly follow the input, which would not look right with the rest of the table. As an alternative, we can repeat the label as a title attr. http://www.w3.org/TR/WCAG20-TECHS/H44.html %] [% email_label = l('Notify by Email by default when a hold is ready for pickup?') %] [%- IF allow_phone_notifications == 'true'; setting = 'opac.hold_notify'; -%] [% phone_label = l('Notify by Phone by default when a hold is ready for pickup?') %] [% setting = 'opac.default_phone' %] [%- END %] [%- IF ctx.get_org_setting(ctx.search_ou, 'sms.enable') == 1; setting = 'opac.hold_notify'; -%] [% sms_label = l('Notify by Text by default when a hold is ready for pickup?') %] [% setting = 'opac.default_sms_notify' %] [% END %]
[% l('Account Successfully Updated') %]
[% l('Default Mobile Carrier') %] [% INCLUDE "opac/parts/sms_carrier_selector.tt2" sms_carrier_hide_label="true" %]
[% l('Hint: use the full 10 digits of your phone #, no spaces, no dashes'); %]
[% IF ctx.opt_in_settings.size > 0 %]
[% FOR optin IN ctx.opt_in_settings %] [% END %]
[% l('Notification Type') %] [% l('Enabled') %]
[% optin.cust.label | html %]
[% END %]
[% END %]