<tr>
<td style='border: 1px solid #ddd;'>&rdetail.copyInfo.library;</td>
<td style='border: 1px solid #ddd;'>&rdetail.copyInfo.callnumber;</td>
+ <td name='rdetail_copylocation_header' class='rdetail_copy_info_header_cell hide_me'>&rdetail.copyInfo.copylocation;</td>
<td style='border: 1px solid #ddd;'>&rdetail.copyInfo.actions;</td>
<td style='border: 1px solid #ddd;' nowrap='nowrap' class='rdetail_copy_info_header_cell' id='rdetail_copy_info_status'>
<div name='rdetail_status_cell'> </div>
<a name='lib_print_link' class='hide_me'>&rdetail.copyInfo.print;</a>
</td>
<td name='rdetail_callnumber_cell' style='border: 1px solid #ddd;'> </td>
+ <td class="hide_me" name='rdetail_copylocation_cell'> </td>
<td name='rdetail_actions_cell' style='border: 1px solid #ddd;'>
<div style='padding: 0 0 2px 0;'><a name='details'>&rdetail.copyInfo.details;</a></div>
<div><a name='browse'>&rdetail.copyInfo.browse;</a></div>
</div>
</td>
<td class='title'>&common.title;</td>
+ <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
+ *** summary screen with more and/or different information. In this case, the raw MARC 245.
+ *** Just swap the following two lines of HTML.
+ *** See the default skin for more examples of this technique. -->
+ <!-- <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'> </td> -->
<td id='rdetail_title'> </td>
</tr>
<tr>
<!-- unAPI URI goes here -->
</abbr>
- <script language='javascript' type='text/javascript'>
+ <script language='javascript' type='text/javascript'><![CDATA[
config.ids.rdetail.details_body = 'rdetail_details_body';
config.ids.rdetail.title = 'rdetail_title';
config.ids.rdetail.author = 'rdetail_author';
config.ids.rdetail.abstr = 'rdetail_abstract';
config.ids.rdetail.image = 'rdetail_image';
config.ids.rdetail.tor_pic = 'rdetail_tor_pic';
- </script>
+
+ dojo.addOnLoad( function () {
+ var here = findOrgUnit(getLocation());
+ if (getDepth() > 0 || getDepth === 0 ) {
+ while (getDepth() < findOrgDepth(here))
+ here = findOrgUnit( here.parent_ou );
+ }
+
+ dojo.require('openils.BibTemplate');
+ new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
+ });
+
+ ]]></script>
</div> <!-- details_body -->