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