[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 53fffc159c22f2d27677710201d6781a15892820
Evergreen Git
git at git.evergreen-ils.org
Mon Feb 27 10:11:29 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_11 has been updated
via 53fffc159c22f2d27677710201d6781a15892820 (commit)
from 668a26b8f84da809e979ee632ea54e76f49e01a3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 53fffc159c22f2d27677710201d6781a15892820
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date: Mon Feb 27 10:09:09 2017 -0500
LP#1371772: update normalization library info URLs
This patch follows up on the previous patch by adjusting
the normalization of URLs when the lib.prefer_external_url
library setting is set to true.
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
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 0d00644..1ad030c 100644
--- a/Open-ILS/src/templates/opac/parts/library_name_link.tt2
+++ b/Open-ILS/src/templates/opac/parts/library_name_link.tt2
@@ -11,7 +11,7 @@
UNLESS lib_url && prefer_external_url;
lib_url = mkurl(opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1);
END;
- IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | url; '">'; END;
+ IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | html; '">'; END;
'<span property="name">'; org_name | html; '</span>';
IF lib_url; '</a>'; END;
-%]
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/parts/library_name_link.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list