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=b76586b1f6eea1b3f55c5830a6edb5f845451d0d;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 528be29d36..f37f0cdb17 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -97,11 +97,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 -%]