From: Terran McCanna Date: Thu, 11 Dec 2014 18:52:49 +0000 (-0500) Subject: Changes to item detail page holdings: X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=770f2eab69002d50ce37a8aa9f487e52354f408e;p=evergreen%2Fpines.git Changes to item detail page holdings: - fixed customized holding location links - moved shelving location after library location and before call number Signed-off-by: Terran McCanna Conflicts: Open-ILS/src/templates/opac/parts/record/copy_table.tt2 --- diff --git a/Open-ILS/src/templates/opac/parts/library_name_link.tt2 b/Open-ILS/src/templates/opac/parts/library_name_link.tt2 index 8b8275e634..6f8547cd4b 100644 --- a/Open-ILS/src/templates/opac/parts/library_name_link.tt2 +++ b/Open-ILS/src/templates/opac/parts/library_name_link.tt2 @@ -4,7 +4,6 @@ opac_root = ctx.kpac_root; END; - # Allow fleshed circ_libs IF copy_info.circ_lib.name; org_id = copy_info.circ_lib.id; org_name = copy_info.circ_lib.name; @@ -20,8 +19,9 @@ UNLESS lib_url && prefer_external_url; lib_url = mkurl(opac_root _ '/library/' _ org_sname, {}, 1); END; - IF lib_url; ''; END; - ''; org_name | html; ''; + IF lib_url; ''; END; + ''; parent_org_name _ ': ' _ org_name | html; ''; IF lib_url; ''; END; -%] + diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index 9d126f6444..fb01d3be7a 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -36,14 +36,14 @@ IF has_copies or ctx.foreign_copies; [% IF serial_holdings -%] [% l("Issue Label") %] [%- ELSE -%] - [% l("Location") %] + [% l("Library System: Library Branch Name") %] [%- END %] + [% l("Shelving Location") %] [% l("Call Number / Copy Notes") %] [%- IF has_parts == 'true' %] [% l("Part") %] [%- END %] [% l("Barcode") %] - [% l("Shelving Location") %] [%- IF ctx.is_staff %] [% l("Circulation Modifier") %] [% l("Age Hold Protection") %] @@ -70,9 +70,9 @@ IF has_copies or ctx.foreign_copies; + [% copy_info.copy_location | html %] [% bib.target_copy.call_number.label | html %] [% bib.target_copy.barcode | html %] - [% bib.target_copy.location.name | html %] [% bib.target_copy.status.name | html %] [% date.format(ctx.parse_datetime(copy_info.due_date, copy_info.circ_circ_lib),DATE_FORMAT) %] @@ -98,14 +98,15 @@ END; # FOREACH bib [%- IF serial_holdings %] [%- copy_info.holding_label | html; -%] - [%- ELSE %] - [%- INCLUDE "opac/parts/library_name_link.tt2"; -%] + [%- ELSE %] + + [%- INCLUDE "opac/parts/library_name_link.tt2"; -%] - [% END %] - [% callnum | html %] [% IF ctx.get_org_setting(CGI.param('loc') - OR ctx.aou_tree.id, 'sms.enable') == 1 %](Text)[% END %] + + [% END %] + [% copy_info.copy_location | html %] + [% callnum | html %] [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](Text)[% END %] [%- IF has_parts == 'true' %] [% copy_info.part_label | html %] [%- END %]