From: Chris Sharp Date: Tue, 7 Jan 2014 16:30:52 +0000 (-0500) Subject: Re-adding library URLs, which were broken by a previous PINES-specific commit. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=55cbfe02ad5fb94ad11c8e4e44fefacda1fba55a;p=evergreen%2Fpines.git Re-adding library URLs, which were broken by a previous PINES-specific commit. --- 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 258e8a13ea..a485b4ff20 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -98,11 +98,15 @@ END; # FOREACH bib [%- org_obj = ctx.get_aou(copy_info.circ_lib); IF org_obj.parent_ou; - parent_org_name = ctx.get_aou(org_obj.parent_ou).name; - org_name = parent_org_name _ ' - ' _ org_obj.name; + lib_url = ctx.get_org_setting(copy_info.circ_lib, 'lib.info_url'); + IF lib_url; ''; END; + parent_org_name = ctx.get_aou(org_obj.parent_ou).name; + org_name = parent_org_name _ ' - ' _ org_obj.name; + IF lib_url; ''; END; ELSE; - org_name = org_obj.name; END; - org_name | html + org_name = org_obj.name; + END; + org_name | html -%]