TPac: more template scrubbing and cleaning
[working/Evergreen.git] / Open-ILS / src / templates / opac / myopac / prefs_notify.tt2
1 [%  PROCESS "opac/parts/header.tt2";
2     WRAPPER "opac/parts/myopac/prefs_base.tt2";
3     myopac_page = "prefs_notify";
4     prefs_page = 'notify' %]
5
6 <form method='POST'>
7
8     <div style="float:right;width:65px;">
9         <input type='image' alt="[% l('Save') %]" src="[% ctx.media_prefix %]/images/save-btn.png" />
10     </div>
11
12     <table>
13         <thead><tr>
14             <th>[% l('Notifation Type') %]</th>
15             <th>[% l('Enabled') %]</th>
16         </tr></thead>
17         <tbody class='data_grid'>
18             [% IF optin.size == 0 %]
19                 <strong>[% l('No notification preferences are configured') %]</strong>
20             [% END %]
21             [% FOR optin IN ctx.opt_in_settings %]
22                 <tr>
23                     <td>[% optin.cust.label | html %]</td>
24                     <td>
25                         <input type='checkbox' name='setting' 
26                             value='[% optin.cust.name | uri %]' 
27                             [% IF optin.value %] checked='checked' [% END %]/>
28                     </td>
29                 </tr>
30             [% END %]
31         </tbody>
32     </table>
33 </form>
34 [% END %]
35
36