From: William Rockwood Date: Fri, 16 Nov 2012 18:15:06 +0000 (-0500) Subject: Copy/hold details in aux_util box, remove barcode from copy table X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f50e473c979384d3ba1d3c3e4768b8ddc740ef69;p=evergreen%2Ftadl.git Copy/hold details in aux_util box, remove barcode from copy table - Moved copy/hold detail info into aux_util box - Removed barcode from copy table if !staffclient - padding/spacing done more consistently Signed-off-by: William Rockwood --- diff --git a/css/tadl.css b/css/tadl.css index 5fe4447fa5..515fe34db5 100644 --- a/css/tadl.css +++ b/css/tadl.css @@ -504,6 +504,12 @@ span#rdetail_hold_counts { width: 242px; } +.rdetail_aux_copycounts, +.rdetail_aux_holdcounts { + padding: 5px 10px 0 10px; + margin: 0; +} + div.place_hold { border-bottom: 1px solid #e6e6e6; padding-top: 10px; diff --git a/templates_tadlskin/opac/parts/record/copy_counts.tt2 b/templates_tadlskin/opac/parts/record/copy_counts.tt2 index a7ad420f43..b097ac41c3 100644 --- a/templates_tadlskin/opac/parts/record/copy_counts.tt2 +++ b/templates_tadlskin/opac/parts/record/copy_counts.tt2 @@ -1,6 +1,5 @@ -

[% l('Available copies') %]

-
    + [%- depths = ctx.copy_summary.size; depth = 0; displayed_ous = {}; @@ -20,7 +19,6 @@ ou_name = cp_org_unit.name; displayed_ous.$ou_name = 1; %] -
  • [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %] [%- this_depth = ctx.get_aou(ou_id).ou_type.depth; IF ou_avail > 0 && this_depth != ctx.copy_depth %] @@ -28,7 +26,7 @@ title="[% l('Show copies at [_1]', ou_name); %]"> [%- l('(Show)'); %] [%- END; %] -
  • +
    [%- depth = depth + 1; END; @@ -38,7 +36,7 @@ UNLESS depth < 0 || displayed_ous.exists(ou_name); %] [%- IF attrs.plib_copy_counts.$depth.count > 0; %] -
  • [% + [% l('[_1] of [quant,_2,copy,copies] available at [_3].', attrs.plib_copy_counts.$depth.available, attrs.plib_copy_counts.$depth.count, @@ -46,8 +44,7 @@ %] [% l('(Show preferred library)'); - %]
  • + %]
    [%- END %] [%- END %] -
diff --git a/templates_tadlskin/opac/parts/record/copy_table.tt2 b/templates_tadlskin/opac/parts/record/copy_table.tt2 index 36a5e1eb40..8a582cb627 100644 --- a/templates_tadlskin/opac/parts/record/copy_table.tt2 +++ b/templates_tadlskin/opac/parts/record/copy_table.tt2 @@ -26,6 +26,7 @@ FOREACH copy_info IN copies; END; -%] [%- IF has_copies; %] +
@@ -38,7 +39,9 @@ END; [%- IF has_parts == 'true' %] [%- END %] + [%- IF ctx.is_staff -%] + [%- END %] [%- IF ctx.is_staff %] @@ -81,11 +84,10 @@ END; [%- IF has_parts == 'true' %] [%- END %] - + [%- END -%] [%- IF ctx.is_staff %]
[% l("Part") %][% l("Barcode") %][% l("Shelving Location") %][% l("Age Hold Protection") %][% copy_info.part_label | html %] [%- IF ctx.is_staff -%] + [% copy_info.barcode | html %] - [%- ELSE -%][% copy_info.barcode | html %] - [%- END -%][% copy_info.copy_location | html %] @@ -178,4 +180,5 @@ END; [%- END %]
+
[% END; %] diff --git a/templates_tadlskin/opac/parts/record/summary.tt2 b/templates_tadlskin/opac/parts/record/summary.tt2 index 4e4a244932..8c8ea06ab1 100644 --- a/templates_tadlskin/opac/parts/record/summary.tt2 +++ b/templates_tadlskin/opac/parts/record/summary.tt2 @@ -43,6 +43,13 @@