]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/opac/parts/record/summary.tt2
Move USE * from topnav.tt2 to new header.tt2; also some myopac work
[working/Evergreen.git] / Open-ILS / web / templates / default / opac / parts / record / summary.tt2
1 <!-- ****************** rdetail_summary.xml ***************************** -->
2 <abbr class="unapi-id" title='tag:HTTP_HOST,OILS_TIME_YEAR:biblio-record_entry/OILS_OPAC_RID'></abbr><!-- XXX FIXME or remove -->
3 <!-- This holds the record summary information -->
4
5 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="rdetail_details_table">
6     <tbody id="rdetail_details_tbody">
7         <tr>
8             <td width="90" valign="top" id="rdetail_image_cell">
9                 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
10                 <a id='rdetail_img_link' href='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/[% ident %]'><img
11                     alt="Image of item" id='rdetail_image'
12                     src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident %]' /></a>
13                 [% END %]
14                 <br />
15                 <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
16                     <div>[% l("Image provided by") %]</div>
17                     <div>
18                         <a target='_blank' href='[% l("http://amazon.com/dp/") %]'
19                             class='classic_link' id='rdetail.jacket_attrib_link'>[% l("Amazon") %]</a>
20                     </div>
21                 </div>
22             </td>
23     
24             <td valign="top">
25                 <table border="0" cellpadding="0" cellspacing="0" width="100%">
26                     <tr>
27                         <td valign="top">
28                             <span id='rdetail_title'>[% attrs.title %]</span><br />
29                             [% IF attrs.author %]
30                             <span style="color:#545454;">[% l("Author") %]:</span>
31                             <em><a title='[% l("Perform an author search") %]'
32                                     id='rdetail_author'
33                                     href="[% ctx.opac_root %]/results?query=author%3a[% attrs.author | replace('[,\.:;]', '') | uri %]&loc=[% loc %]">[% attrs.author %]</a>
34                             </em>
35                             [% END %]
36                         </td>
37                         <td align="right" valign="top" nowrap="nowrap" style="white-space:nowrap;">
38                             <div style="width:230px;text-align:left;margin-top:3px;">
39                                 <div style="float:right;">
40                                     <div style="border-bottom:1px dotted #ccc;padding-top:10px;"
41                                         class="rdetail_aux_utils">
42                                         <a href="[% ctx.opac_root %]/place_hold?hold_target=[% record.id %]&hold_type=T" id="rdetail_place_hold"><img
43                                             src="[% ctx.media_prefix %]/images/green_check.png" alt="place hold" />
44                                             <span style="position:relative;top:-3px;left:3px;">Place Hold</span></a>
45                                     </div>
46                                     <div style="padding-top:6px;" class="rdetail_aux_utils">
47                                         <div style="position:absolute;">
48                                             <div style="position:relative;top:5px; left: 25px;">
49                                                 <a title="Add to my list" id="add_mylist"
50                                                     href="#">Add to my list</a>
51                                             </div>
52                                         </div>
53                                         <a href="#"><img
54                                             alt="add to my list"
55                                             src="[% ctx.media_prefix %]/images/clipboard.png" /></a>
56                                     </div>
57                                 </div>
58                                 <div style="float:right;margin-right:17px;">
59                                     <img id="rdetail_tor_pic" alt="Format" class="hide_me" src="" />
60                                 </div>
61                             </div>
62                         </td>
63                     </tr>
64                 </table>
65                 <div style="border-top: 1px dotted #ccc;padding-top:17px;">
66                     <table border="0" cellpadding="0" width="100%">
67                         <tr>
68                             <td nowrap='nowrap' valign="top">
69                                 [% IF attrs.isbn %]<strong id="rdetail_isbn_lbl">[% l("ISBN") %]</strong>[% END %]
70                             </td>
71                             <td valign="top" id='rdetail_isbn'>[% attrs.isbn %]</td>
72                             <td nowrap='nowrap' valign="top">
73                                 [% IF attrs.phys_desc %]<strong id="rdetail_phys_lbl">[% l("Physical Description") %]</strong>[% END %]
74                             </td>
75                             <td valign="top" id='rdetail_physical_desc'>[% attrs.phys_desc %]</td>
76                         </tr>
77                         <tr>
78                             <td nowrap='nowrap' valign="top">
79                                 <strong id="rdetail_ed_lbl">[% IF attrs.edition; l("Edition"); END %]</strong>
80                             </td>
81                             <td valign="top" id='rdetail_edition'>[% attrs.edition %]</td>
82                             <td nowrap='nowrap' valign="top">
83                                 <strong id="rdetail_form_lbl">[% IF attrs.format; l("Format"); END %]</strong>
84                             </td>
85                             <td valign="top">
86                                 [% IF attrs.format %]
87                                 <img alt="Format" class='tor_pic'
88                                     title="[% attrs.format %]"
89                                     src="[% ctx.media_prefix _ '/images/' _ attrs.format_icon %]" />
90                                 [%  END %]
91                             </td>
92                         </tr>
93                         <tr>
94                             <td nowrap='nowrap' valign="top">
95                                 <strong id="rdetail_pubdate_lbl">[% IF attrs.pubdate; l("Publication Date"); END %]</strong>
96                             </td>
97                             <td valign="top" id='rdetail_pubdate'>[% attrs.pubdate %]</td>
98                             <td nowrap='nowrap' valign="top">
99                                 <strong id="rdetail_sum_lbl">Summary</strong>
100                             </td>
101                             <td valign="top" id='rdetail_abstract'></td>
102                         </tr>
103                         <tr>
104                             <td nowrap='nowrap' valign="top">
105                                 <strong id="rdetail_pub_lbl">[% IF attrs.publisher; l("Publisher"); END %]</strong>
106                             </td>
107                             <td valign="top" id='rdetail_publisher'>[% attrs.publisher %]</td>
108                             <td nowrap='nowrap' valign="top">
109                                 [%# XXX TODO see kcls' drawMarcSubjects() in rdetail.js %]
110                                 <strong id="rdetail_sub_lbl">[% l("Subjects") %]</strong>
111                             </td>
112                             <td valign="top"></td>
113                         </tr>
114                     </table>
115                 </div>
116             </td>
117         </tr>
118     </tbody>
119 </table>
120 <br /><br />
121
122 <table cellpadding="0" cellspacing="0" border="0" width="100%" id="rdetails_status">
123     <tr id="rdetails_status_head">
124         <td width="25%">Location</td>
125         <td width="20%">Call Number</td>
126         <td width="18%">Selving Location</td>
127         <td width="17%">Status</td>
128         <td width="20%">Due Date</td>
129     </tr>
130 </table>
131 <table cellpadding="0" cellspacing="0" border="0" width="100%">
132     <tbody id="rdetails_status2" class="hide_me">
133         <tr id="rdetails_status_head2">
134             <td width="25%"></td>
135             <td width="20%"></td>
136             <td width="18%"></td>
137             <td width="17%"></td>
138             <td width="20%"></td>
139         </tr>
140     </tbody>
141 </table>
142
143 <div id="rdetail_locs_expand">
144     <a href="#"><img
145         src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
146     <a style="position:relative;top:-3px;" href="#">Show more locations</a>
147 </div>
148
149 <div id="rdetail_locs_collapse" class="hide_me">
150     <a href="#"><img
151         src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
152     <a style="position:relative;top:-3px;" href="#">Collapse locations</a>
153 </div>
154
155 <div id="rdetail_extras_expand">
156     <a href="#"><img
157         src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
158     <a style="position:relative;top:-3px;" href="#">Expand all tabs</a>
159 </div>
160
161 <div id="rdetail_extras_collapse" class="hide_me">
162     <a href="#"><img src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
163     <a style="position:relative;top:-3px;" href="#">Collapse all tabs</a>
164 </div>
165
166 <div class="hide_me">
167     <table id='' border="0" width="100%">
168         <tbody id='rdetail_details_tbody'>
169             <tr>
170                 <td id='' rowspan='2' valign="top" align="center" style="padding-right:10px;">
171                 </td>
172                 <td class='rdetail_desc' valign="top" colspan="3">
173                     <table border="0" width="100%">
174                         <tr>
175                             <td valign="top">
176                                 <div style="padding-bottom:7px;">
177                                     <strong>[% l("Title") %]:</strong>
178                                 </div>
179                             </td>
180                             <td width="1" valign="top" align="right" style="white-space:nowrap;">
181                                 <a href="[% ctx.opac_root %]/place_hold?hold_target=[% record.id %]&hold_type=T"><img alt="Place Hold"
182                                     src="[% ctx.media_prefix %]/images/place_hold.gif" /></a>
183                                 <a href="#" id="rd_reviews_and_more" target="_blank"><img
184                                     alt="Reviews and More" src="[% ctx.media_prefix %]/images/reviews.gif" /></a>
185                                 <a href="#" id=""><img alt="Add to My List"
186                                     src="[% ctx.media_prefix %]/images/add_mylist.gif" /></a>
187                             </td>
188                         </tr>
189                     </table>
190                 </td>        
191             </tr>
192             <tr>
193                 <td nowrap='nowrap' colspan="3" valign="bottom" style="padding-bottom:16px;">
194                 </td>
195             </tr>
196             <tr>
197                 <td><div style="height:20px;"></div></td>
198             </tr>
199         </tbody>
200     </table>
201     <!-- Empty span used for creating unAPI links -->
202     <abbr name="unapi" class="unapi-id"> <!-- unAPI URI goes here --> </abbr>
203 </div> <!-- details_body -->
204
205 <!-- ****************** end: rdetail_summary.xml ***************************** -->