1 [% IF ctx.mfhd_summaries.size; %]
2 <div class="rdetail-mfhd-holdings">
6 basic_holdings = l('Volumes'),
7 basic_holdings_add = l('Additional Volume Information'),
8 supplement_holdings = l('Supplements'),
9 supplement_holdings_add = l('Additional Supplement Information'),
10 index_holdings = l('Indexes'),
11 index_holdings_add = l('Additional Index Information'),
13 missing = l('Missing'),
14 incomplete = l('Incomplete'),
17 FOREACH serial IN ctx.mfhd_summaries;
18 printed_mfhd_header = 0;
19 FOREACH type IN mfhd.keys;
20 NEXT UNLESS serial.$type.size;
21 IF !printed_mfhd_header; %]
23 <td class="rdetail-mfhd-head" colspan="2">[% l('Holdings summary ([_1])', serial.location) %]</td>
25 [% printed_mfhd_header = 1;
28 <td class="rdetail-mfhd-type">[% mfhd.$type %]</td>
29 <td class="rdetail-mfhd-contents">[%
30 FOR thing IN serial.$type;
35 IF printed_mfhd_header; %]
37 <td class="rdetail-mfhd-foot" colspan="2"> </td>