projects
/
contrib
/
Conifer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cc475
)
Hide fake barcode electronic resources in Laurentian locations
feature/no_uri_barcodes_2_7
author
Dan Scott
<dscott@laurentian.ca>
Sun, 4 Jan 2015 21:11:37 +0000
(16:11 -0500)
committer
Dan Scott
<dscott@laurentian.ca>
Sun, 4 Jan 2015 21:11:37 +0000
(16:11 -0500)
Because we have asset.uri for a reason.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/misc_util.tt2
patch
|
blob
|
history
diff --git
a/Open-ILS/src/templates/opac/parts/misc_util.tt2
b/Open-ILS/src/templates/opac/parts/misc_util.tt2
index
da7c958
..
ba9d95c
100644
(file)
--- a/
Open-ILS/src/templates/opac/parts/misc_util.tt2
+++ b/
Open-ILS/src/templates/opac/parts/misc_util.tt2
@@
-476,6
+476,10
@@
loc = copy.findnodes('./*[local-name()="location"]');
NEXT IF loc.getAttribute('opac_visible') == 'false';
+ # Laurentian-specific hiding of electronic resources
+ NEXT IF loc.textContent == 'Internet';
+ NEXT IF loc.textContent == 'Electronic book';
+
circlib = copy.findnodes('./*[local-name()="circlib"]');
NEXT IF circlib.getAttribute('opac_visible') == 'false';