]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Merge remote branch 'working/user/dbs/tpac-css-buttons' into template-toolkit-opac...
[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='submit' 
10             value="[% l('Save') %]"
11             alt="[% l('Save') %]"
12             class="opac-button" />
13     </div>
14
15     <table>
16         <thead><tr>
17             <th>[% l('Notifation Type') %]</th>
18             <th>[% l('Enabled') %]</th>
19         </tr></thead>
20         <tbody class='data_grid'>
21             [% IF optin.size == 0 %]
22                 <strong>[% l('No notification preferences are configured') %]</strong>
23             [% END %]
24             [% FOR optin IN ctx.opt_in_settings %]
25                 <tr>
26                     <td>[% optin.cust.label | html %]</td>
27                     <td>
28                         <input type='checkbox' name='setting' 
29                             value='[% optin.cust.name | uri %]' 
30                             [% IF optin.value %] checked='checked' [% END %]/>
31                     </td>
32                 </tr>
33             [% END %]
34         </tbody>
35     </table>
36 </form>
37 [% END %]
38
39