Simple grey background for the holdings summary header for each record;
add a TBODY element to the holdings table for validity; offset the MFHD
type by 1em to group entries under each holdings location.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
[% END %]
[% IF ctx.mfhd_summaries.size; %]
<div class="rdetail-mfhd-holdings">
- <table>
+ <table><tbody>
[%
mfhd = {
basic_holdings = l('Volumes'),
};
FOREACH serial IN ctx.mfhd_summaries;
+%]
+ <tr>
+ <td class="rdetail-mfhd-head" colspan="2">[% l('Holdings summary ([_1])', serial.location) %]</td>
+ </tr>
+[%
FOREACH type IN mfhd.keys;
NEXT UNLESS serial.$type.size;
%]
<td class="rdetail-mfhd-contents">[% serial.$type.join(', ') %]</td>
</tr>
[% END %]
+ <tr>
+ <td class="rdetail-mfhd-foot" colspan="2"> </td>
+ </tr>
[% END %]
- </table>
+ </tbody></table>
</div>
[% END %]
</div>
padding: 0px;
}
+.rdetail-mfhd-head {
+ margin-top: 5px;
+ padding-top: 5px;
+ background-color: #D8D8D8;
+}
+
+.rdetail-mfhd-type {
+ padding-left: 1em;
+}
+
+.rdetail-mfhd-bottom {
+ border-bottom: thin solid black;
+ width: 100%;
+}
.bookbag-item-row td { vertical-align: top; }