From: Dan Scott Date: Mon, 19 Sep 2011 02:27:00 +0000 (-0400) Subject: TPAC: Add some style to MFHD holdings summaries X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=be71f1911d4c1eea8d796f39cf15f94e164d246f;p=contrib%2FConifer.git TPAC: Add some style to MFHD holdings summaries 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 Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/parts/record/issues.tt2 b/Open-ILS/src/templates/opac/parts/record/issues.tt2 index 47f63f005b..00a3ecab59 100644 --- a/Open-ILS/src/templates/opac/parts/record/issues.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/issues.tt2 @@ -25,7 +25,7 @@ FOREACH type IN ctx.holding_summaries.keys; [% END %] [% IF ctx.mfhd_summaries.size; %]
- +
[% mfhd = { basic_holdings = l('Volumes'), @@ -40,6 +40,11 @@ FOREACH type IN ctx.holding_summaries.keys; }; FOREACH serial IN ctx.mfhd_summaries; +%] + + + +[% FOREACH type IN mfhd.keys; NEXT UNLESS serial.$type.size; %] @@ -48,8 +53,11 @@ FOREACH type IN ctx.holding_summaries.keys; [% END %] + + + [% END %] -
[% l('Holdings summary ([_1])', serial.location) %]
[% serial.$type.join(', ') %]
+
[% END %] diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 226e4b9732..7c1cd69b39 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -1028,6 +1028,20 @@ a.opac-button { 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; }