]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/templates/default/opac/parts/record/body.tt2
towards an opac hold editor
[Evergreen.git] / Open-ILS / web / templates / default / opac / parts / record / body.tt2
1 <!-- ****************** page_rdetail.xml ***************************** -->
2 [%  record = ctx.record;
3     attrs = {marc_xml => ctx.marc_xml};
4     PROCESS "default/opac/parts/misc_util.tt2";
5     PROCESS get_marc_attrs args=attrs %]
6 <div id='canvas_main' class='canvas'>
7     <div id="rdetail_header" class="hide_me">[%#
8         XXX Does it make sense for now to even have this section?  Why
9         should the record detail page be aware of the ongoing search?
10         The user can use the back button to go back to their search results
11         like on any other website. %]
12         <div style="float:left;">
13             Search Results&nbsp;&nbsp;&nbsp;
14             <span id="rdetail_result_count" class="hide_me">
15                 Showing Item <strong id='np_offset'></strong>
16                 &nbsp;of&nbsp;<strong id='np_count'></strong>
17             </span>
18         </div>
19         <div id="rdetail_result_nav">
20             <span class="hide_me">
21                 <a class='np_nav_link classic_link' id='np_start'
22                     href='#'
23                     title="[% l("First results page") %]">[% l("Start") %]</a>
24                 </span>
25                 <a class='np_nav_link classic_link hide_me' id='np_prev'
26                     href='#'
27                     title='[% l("Previous page") %]'><span
28                         class="nav_arrow_fix">&#9668;</span> Previous</a>
29                 <span style="padding:0px 10px;"> </span>
30                 <a class='np_nav_link classic_link hide_me' id='np_next'
31                     href='#'
32                     title='[% l("Next page") %]'>Next <span
33                         class="nav_arrow_fix">&#9658;</span></a>
34                 <span class="hide_me"><a class='np_nav_link classic_link'
35                     id='np_end' href='#'
36                     title="[% l("Last results page") %]">[% l("End") %]</a></span>
37         </div>
38         <div class="clear-both"></div>
39     </div>
40
41     <table width='100%' id='np_table' border='0' class="hide_me">
42         <tbody>
43             <tr class='color_4'>
44                 <td style='vertical-align: top;' align="center">
45                     <span style="float:left"><a href="javascript:;"
46                         onclick="history.go(-1);">&laquo; Back</a></span>
47                     <span></span>
48                 </td>
49             </tr>
50         </tbody>
51     </table>
52
53     <table style='' class='rdetail_header color_1 hide_me' width='100%'
54         border="0" cellspacing="0" cellpadding="0">
55         <tbody>
56             <tr>
57                 <td width='33%' align='left' class="hide_me">
58                     <span>[% l("Record Summary") %]</span>
59                 </td>
60                 <td align='right' style='padding-right: 7px;' width='33%'>
61                     <span id='rdetail_exp_refworks_span' class='hide_me'
62                         style='padding-right: 7px;'>
63                         <a id='rdetail_exp_refworks'>[% l("Export to RefWorks") %]</a>
64                     </span>
65                     <span style='padding-right: 7px;' class='hide_me'
66                         id='rdetail_more_actions'>
67                         <select id='rdetail_more_actions_selector'
68                             style='max-width: 11em;' class="hide_me">
69                             <option value='start'>
70                                 [% l("More Actions...") %]
71                             </option>
72                             <option disabled='disabled'>
73                                 --------------
74                             </option>
75                             <option disabled='disabled'>
76                                 [% l("Add to bookbag") %]
77                             </option>
78                             <option disabled='disabled'>
79                                 --------------
80                             </option>
81                             <option value='new_bookbag'>
82                                 [% l("Create a new bookbag") %]
83                             </option>
84                         </select>
85                     </span>
86                 </td>
87             </tr>
88         </tbody>
89     </table>
90
91     <div style='font-weight: bold; padding: 5px; margin: 5px; width: 100%;'
92         class='hide_me color_4' id='rdetail_deleted_exp'>
93         [% l("This record has been deleted from the database.  We recommend that you remove this title from any bookbags it may have been added to.") %]
94     </div>
95
96     [% INCLUDE "default/opac/parts/record/summary.tt2" %]
97     <br />
98     <div style="width:100%;" class="hide_me">
99         <div style="float:right;" class="hide_me" id="lib_info_more">
100             <button>More...</button>
101         </div>
102         <div style="float:right;" class="hide_me" id="lib_info_less">
103             <button>...Less</button>
104         </div>
105     </div>
106     [% INCLUDE "default/opac/parts/record/extras.tt2" %]
107
108     <div class='hide_me' id='rdetail_bb_none'>
109         [% l("(none)") %]
110     </div>
111     <div class='hide_me' id='rdetail_bb_item_success'>
112         [% l("Item successfully added to bookbag") %]
113     </div>
114     <div class='hide_me' id='rdetail_bb_new'>
115         [% l("Enter the name of the new bookbag") %]
116     </div>
117     <div class='hide_me' id='rdetail_bb_success'>
118         [% l("Bookbag successfully created") %]
119     </div>
120 </div>
121 <!-- ****************** end; page_rdetail.xml ***************************** -->