]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/opac/parts/anon_list.tt2
Merge branch 'master' of ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox...
[working/Evergreen.git] / Open-ILS / web / templates / default / opac / parts / anon_list.tt2
1         [% IF ctx.mylist.size %]
2         <form action="[% ctx.opac_root %]/mylist/del" 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                             </select>
33                             <input type="submit" value="[% l('Go') %]" />
34                         </td>
35                     </tr>
36                 </thead>
37                 <tbody id='anon_list_tbody'>
38                     [% FOR item IN ctx.mylist;
39                         attrs = {marc_xml => ctx.mylist_marc_xml.$item};
40                         PROCESS get_marc_attrs args=attrs %]
41                     <tr>
42                         <td class="opac-auto-097b" style="padding-left: 10px;">
43                             <input type="checkbox" name="record" value="[% item %]" />
44                         </td>
45                         <td class="opac-auto-097b" style="padding-left: 5px;">[% attrs.title %]</td>
46                         <td class="opac-auto-097b" style="padding-left: 5px;">[% attrs.author %]</td>
47                     </tr>
48                     [% END %]
49                 </tbody>
50             </table>
51             <br /><br />
52         </div>
53         </form>
54         [% END %]