]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
91a3ce55a2fcc500b764574dc9101097095fe148
[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
7 <form method='POST'>
8
9     <div style="float:right;width:65px;">
10         <input type='image' alt="[% l('Save') %]" src="[% ctx.media_prefix %]/images/save-btn.png" />
11     </div>
12
13     <table>
14         <thead><tr>
15             <th>[% l('Notifation Type') %]</th>
16             <th>[% l('Enabled') %]</th>
17         </tr></thead>
18         <tbody class='data_grid'>
19             [% IF optin.size == 0 %]
20                 <strong>[% l('No notification preferences are configured') %]</strong>
21             [% END %]
22             [% FOR optin IN ctx.opt_in_settings %]
23                 <tr>
24                     <td>[% optin.cust.label | html %]</td>
25                     <td>
26                         <input type='checkbox' name='setting' 
27                             value='[% optin.cust.name | uri %]' 
28                             [% IF optin.value %] checked='checked' [% END %]/>
29                     </td>
30                 </tr>
31             [% END %]
32         </tbody>
33     </table>
34 </form>
35
36
37 <!-- NOTIFICATION PREFS / leaving here for reference
38 <table class="hide_me"
39        id="acct_notify_main">
40     <tbody>
41         <tr class="hide_me">
42             <td><span>[% l("Default Hold Notification Method") %]</span> <a class=
43             'classic_link'
44                href='#'>[% l("(Help)") %]</a></td>
45
46             <td style="padding-left:15px;"><select id=
47             'prefs_hold_notify'>
48                 <option value='phone:email'
49                         selected='selected'>
50                     [% l("Use Phone and Email") %]
51                 </option>
52
53                 <option value='phone'>
54                     [% l("Use Phone Only") %]
55                 </option>
56
57                 <option value='email'>
58                     [% l("Use Email Only") %]
59                 </option>
60             </select></td>
61         </tr>
62
63         <tr>
64             <td style="padding-top:10px;"><strong>Pick Up Notice for
65             Holds</strong><br />
66             <input type="checkbox"
67                    id="opac.hold_notify.email"
68                    name="opac.hold_notify.email" /> <label for=
69                    "opac.hold_notify.email">Email</label><br />
70             <input type="checkbox"
71                    id="opac.hold_notify.phone"
72                    name="opac.hold_notify.phone" /> <label for=
73                    "opac.hold_notify.phone">Phone</label>
74                    <b>(Temporarily phone notification will generate a
75                    mailed paper notice.)</b></td>
76         </tr>
77
78         <tr>
79             <td style="padding-top:10px;"><strong>Expire Notice for
80             Holds</strong><br />
81             <input type="checkbox"
82                    id="notification.hold.expire.email"
83                    name="notification.hold.expire.email" /> <label for=
84                    "notification.hold.expire.email">Email</label></td>
85         </tr>
86
87         <tr>
88             <td style="padding-top:10px;"><strong>Cancel Notice for
89             Holds</strong><br />
90             <input type="checkbox"
91                    id="notification.hold.cancel.email"
92                    name="notification.hold.cancel.email" /> <label for=
93                    "notification.hold.cancel.email">Email</label></td>
94         </tr>
95
96         <tr>
97             <td style="padding-top:10px;"><strong>Overdue First
98             Notice</strong><br />
99             <input type="checkbox"
100                    id="notification.overdue.first.email"
101                    name="notification.overdue.first.email" />
102                    <label for=
103                    "notification.overdue.first.email">Email</label><br />
104             <input type="checkbox"
105                    id="notification.overdue.first.phone"
106                    name="notification.overdue.first.phone" />
107                    <label for=
108                    "notification.overdue.first.phone">Phone</label>
109                    <b>(Temporarily phone notification will generate a
110                    mailed paper notice.)</b></td>
111         </tr>
112
113         <tr>
114             <td style="padding-top:10px;"><strong>Courtesy
115             Notice</strong><br />
116             <input type="checkbox"
117                    id="notification.predue.email"
118                    name="notification.predue.email" /> <label for=
119                    "notification.predue.email">Email</label><br /></td>
120         </tr>
121     </tbody>
122 </table>
123 -->
124
125
126 [% END %]
127
128