8fb8258cbf0a401644c090ad12b435232fd51bf9
[evergreen-equinox.git] / Open-ILS / web / templates / default / opac / parts / anon_list.tt2
1         [% IF ctx.mylist.size %]
2         <form action="[% ctx.opac_root %]/mylist/move" method="POST">
3         <div id='acct_list_template2'>
4             <div style="width:100%">
5                 <table cellpadding="0" cellspacing="0" border="0">
6                     <tr>
7                         <td id='anon_list_name'>
8                             [% l('Temporary List') %]
9                         </td>
10                         <td>
11                             <!-- <a href="#"><img
12                                 alt="[% l('Anonymous List Help') %]"
13                                 src="[% ctx.media_prefix %]/images/question-mark.png" /></a>-->
14                         </td>
15                     </tr>
16                 </table>
17                 <div class="float-right"></div>
18                 <div class="clear-both pad-bottom-five"></div>
19             </div>
20             <table cellpadding='0' cellspacing='0' border='0'>
21                 <thead id="acct_list_header_anon">
22                     <tr>
23                         <td width="1%" style="padding-left:10px;"><input type="checkbox"/>
24                         </td>
25                         <td width="49%" style="padding-left:5px;">[% l('Title') %]</td>
26                         <td width="49%" style="padding-left:5px;">[% l('Author(s)') %]</td>
27                         <td width="1%" class="nowrap">
28                             <select class="opac-auto-179" name="action">
29                                 <option>[% l('-- Actions for this list --') %]</option>
30                                 <!-- XXX not ready <option value="hold">[% l('Place Hold') %]</option> -->
31                                 <option value="delete">[% l('Remove Items') %]</option>
32                                 [% IF ctx.user AND ctx.bookbags.size %]
33                                 <optgroup label="Move selected items to">
34                                     [% FOR bbag IN ctx.bookbags %]]
35                                     <option value="[% bbag.id %]" class="opac-auto-179-inner-option">[% bbag.name %]</option>
36                                     [% END %]
37                                 </optgroup>
38                                 [% END %]
39                             </select>
40                             <input type="submit" value="[% l('Go') %]" />
41                         </td>
42                     </tr>
43                 </thead>
44                 <tbody id='anon_list_tbody'>
45                     [% FOR item IN ctx.mylist;
46                         attrs = {marc_xml => ctx.mylist_marc_xml.$item};
47                         PROCESS get_marc_attrs args=attrs %]
48                     <tr>
49                         <td class="opac-auto-097b" style="padding-left: 10px;">
50                             <input type="checkbox" name="record" value="[% item %]" />
51                         </td>
52                         <td class="opac-auto-097b" style="padding-left: 5px;">[% attrs.title %]</td>
53                         <td class="opac-auto-097b" style="padding-left: 5px;">[% attrs.author %]</td>
54                     </tr>
55                     [% END %]
56                 </tbody>
57             </table>
58             <br /><br />
59         </div>
60         </form>
61         [% END %]