1 <div class='rdetail_extras_div'>
3 base_expando = ctx.full_path _ "?expand=issues";
4 FOREACH type IN ctx.holding_summaries.keys;
5 NEXT UNLESS ctx.holding_summaries.$type.size;
6 expanded = CGI.param('expand_holding_type') == type; %]
7 <div class="rdetail-issue-type">
8 <a href="[% base_expando; expanded ? '' : '&expand_holding_type=' _ type; %]#issues">[[% expanded ? '-' : '+' %]]</a>
9 [% ctx.holding_summaries.$type.join(", ") %]
12 [% FOR blob IN ctx.expanded_holdings %]
14 <td class="rdetail-issue-issue">[% blob.issuance.label | html %]</td>
15 [% IF blob.has_units %]
16 <td class="rdetail-issue-place-hold">
17 <a href="[% mkurl(ctx.opac_root _ '/place_hold',
18 {hold_target => blob.issuance.id, hold_type => 'I', hold_source_page => mkurl()}) %]">[% l("Place Hold") %]</a>
27 [% IF ctx.mfhd_summaries.size; %]
28 <div class="rdetail-mfhd-holdings">
32 basic_holdings = l('Volumes'),
33 basic_holdings_add = l('Additional Volume Information'),
34 supplement_holdings = l('Supplements'),
35 supplement_holdings_add = l('Additional Supplement Information'),
36 index_holdings = l('Indexes'),
37 index_holdings_add = l('Additional Index Information'),
39 missing = l('Missing'),
40 incomplete = l('Incomplete'),
43 FOREACH serial IN ctx.mfhd_summaries;
46 <td class="rdetail-mfhd-head" colspan="2">[% l('Holdings summary ([_1])', serial.location) %]</td>
49 FOREACH type IN mfhd.keys;
50 NEXT UNLESS serial.$type.size;
53 <td class="rdetail-mfhd-type">[% mfhd.$type %]</td>
54 <td class="rdetail-mfhd-contents">[% serial.$type.join(', ') %]</td>
58 <td class="rdetail-mfhd-foot" colspan="2"> </td>