]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2
Merge branch 'master' of git.evergreen-ils.org:Evergreen-DocBook into doc_consolidati...
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / record / issues-mfhd.tt2
1 [% IF ctx.mfhd_summaries.size; %]
2     <div class="rdetail-mfhd-holdings">
3         <table><tbody>
4 [%
5         mfhd = {
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'),
12             online = l('Online'),
13             missing = l('Missing'),
14             incomplete = l('Incomplete'),
15         };
16
17         FOREACH serial IN ctx.mfhd_summaries;
18 %]
19             <tr>
20                 <td class="rdetail-mfhd-head" colspan="2">[% l('Holdings summary ([_1])', serial.location) %]</td>
21             </tr>
22 [%
23             FOREACH type IN mfhd.keys;
24                 NEXT UNLESS serial.$type.size;
25 %]
26             <tr>
27                 <td class="rdetail-mfhd-type">[% mfhd.$type %]</td>
28                 <td class="rdetail-mfhd-contents">[%
29                     FOR thing IN serial.$type;
30                         thing.join(", ");
31                     END %]</td>
32             </tr>
33         [% END %]
34             <tr>
35                 <td class="rdetail-mfhd-foot" colspan="2"> </td>
36             </tr>
37     [% END %]
38         </tbody></table>
39     </div>
40 [% END %]