]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml
Clean up unneeded alt txt; rework "Add to my list"
[Evergreen.git] / Open-ILS / web / opac / skin / craftsman / xml / rdetail / rdetail_summary.xml
1
2 <!-- This holds the record summary information -->
3 <div class='details-grid'>
4         <table id='rdetail_details_table'>
5                 <tbody id='rdetail_details_tbody'>
6
7                         <tr>
8                                 <td id='rdetail_image_cell' rowspan='10' style='border-right: 1px solid #efefef; text-align: center;'>
9                                         <a id='rdetail_img_link'>
10                                                 <img style='margin: 0 auto; border: none;' id='rdetail_image' onerror='hideMe($("rdetail.jacket_attrib_div"));hideMe($("rdetail_img_link"));'/>
11                                         </a>
12                     <!-- vendor attribution link -->
13                     <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
14                         <div>&opac.image_provided;</div>
15                         <div><a target='_blank' href='&vendor.base_link;' class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>
16                     </div>
17                                 </td>
18                                 <td class='title'>&common.title;</td>           
19                 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
20                      *** summary screen with more and/or different information.  In this case, the raw MARC 245.
21                      *** Just swap the following two lines of HTML.
22                      *** See the default skin for more examples of this technique. -->
23                 <!-- <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'> </td> -->
24                                 <td id='rdetail_title'> </td>
25                         </tr>
26                         <tr>
27                                 <td class='title'>&common.author;</td>          
28                                 <td><a title='&rdetail.author.search;' id='rdetail_author'></a></td>
29                         </tr>
30                         <tr>
31                                 <td class='title'>&common.isbn;</td>                    
32                                 <td id='rdetail_isbn'> </td>
33                         </tr>
34                         <tr>
35                                 <td class='title'>&common.edition;</td>         
36                                 <td id='rdetail_edition'> </td>
37                         </tr>
38                         <tr>
39                                 <td class='title'>&common.pubdate;</td>         
40                                 <td id='rdetail_pubdate'> </td>
41                         </tr>
42                         <tr>
43                                 <td class='title'>&common.publisher;</td>               
44                                 <td id='rdetail_publisher'> </td>
45                         </tr>
46                         <tr>
47                                 <td class='title'>&common.physical;</td>                
48                                 <td id='rdetail_physical_desc'> </td>
49                         </tr>
50                         <tr>
51                                 <td class='title'>&common.format;</td>                  
52                                 <td>
53                                         <img id='rdetail_tor_pic' class='tor_pic' />
54                                         <span id='rdetail_tor' style='padding-left: 5px;'> </span>
55                                 </td>
56                         </tr>
57                         <tr>
58                                 <td class='title'>&rdetail.detailMain.abstract;</td>    
59                                 <td id='rdetail_abstract'> </td>
60                         </tr>
61
62                         <tr class='hide_me' id='rdetail_online_row'>
63                                 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
64                                      *** summary screen with complex information, such as location-specific URIs (856$9). -->
65                                 <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;
66                                         <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>
67                                                 <script type='opac/slot-format'><![CDATA[
68                                                         // There exists at least one localized URI. Clear all links.
69                                                         dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();
70                                                         return '';
71                                                 ]]></script>
72                                         </span>
73                                 </td>
74                                 <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes > volume > uris > uri' join=", ">
75                                         <script type='opac/slot-format'><![CDATA[
76                                                 var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';
77                                                 if (item.getAttribute('use_restriction'))
78                                                         link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';
79                                                 return link;
80                                         ]]></script>
81                                 </td>
82                         </tr>
83                 </tbody>
84         </table>
85         <!-- Empty span used for creating unAPI links -->
86         <abbr name="unapi" class="unapi-id">
87                 <!-- unAPI URI goes here -->
88         </abbr>
89
90         <script language='javascript' type='text/javascript'><![CDATA[
91                 config.ids.rdetail.details_body         = 'rdetail_details_body'; 
92                 config.ids.rdetail.title                        = 'rdetail_title';
93                 config.ids.rdetail.author                       = 'rdetail_author';
94                 config.ids.rdetail.isbn                         = 'rdetail_isbn';
95                 config.ids.rdetail.edition                      = 'rdetail_edition';
96                 config.ids.rdetail.pubdate                      = 'rdetail_pubdate';
97                 config.ids.rdetail.publisher            = 'rdetail_publisher';
98                 config.ids.rdetail.tor                          = 'rdetail_tor';
99                 config.ids.rdetail.abstr                        = 'rdetail_abstract';
100                 config.ids.rdetail.image                        = 'rdetail_image';
101                 config.ids.rdetail.tor_pic                      = 'rdetail_tor_pic';
102
103         dojo.addOnLoad( function () {
104             var here = findOrgUnit(getLocation());
105             if (getDepth() > 0 || getDepth === 0 ) {
106                 while (getDepth() < findOrgDepth(here))
107                     here = findOrgUnit( here.parent_ou );
108             }
109
110             dojo.require('openils.BibTemplate');
111             new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
112         });
113
114         ]]></script>
115
116 </div> <!-- details_body -->
117