[% IF ctx.mfhd_summaries.size; %]
[%
mfhd = {
basic_holdings = l('Volumes'),
basic_holdings_add = l('Additional Volume Information'),
supplement_holdings = l('Supplements'),
supplement_holdings_add = l('Additional Supplement Information'),
index_holdings = l('Indexes'),
index_holdings_add = l('Additional Index Information'),
online = l('Online'),
missing = l('Missing'),
incomplete = l('Incomplete'),
};
FOREACH serial IN ctx.mfhd_summaries;
printed_mfhd_header = 0;
FOREACH type IN mfhd.keys;
NEXT UNLESS serial.$type.size;
IF !printed_mfhd_header; %]
[% l('Holdings summary ([_1])', serial.location) | html %] |
[% printed_mfhd_header = 1;
END; %]
[% mfhd.$type %] |
[%
FOR thing IN serial.$type;
thing.join(", ") | html;
END %] |
[% END;
IF printed_mfhd_header; %]
[% END; %]
[% END %]
[% END %]