diff --git a/src/js/mixins/link_generator_mixin.js b/src/js/mixins/link_generator_mixin.js index 0fd667360..99d985cab 100644 --- a/src/js/mixins/link_generator_mixin.js +++ b/src/js/mixins/link_generator_mixin.js @@ -223,7 +223,7 @@ define(['underscore', 'js/mixins/openurl_generator'], function (_, OpenURLGenera let dataProducts = []; let countOpenUrls = 0; const property = data.property; - const hasHTMLOpenAccess = _.contains(property, 'OPENACCESS'); + const hasHTMLOpenAccess = _.contains(property, 'PUB_OPENACCESS'); // check the esources property _.forEach(data.esources, function (el, ids, sources) { diff --git a/src/js/widgets/resources/components/app.jsx.js b/src/js/widgets/resources/components/app.jsx.js index d7b8e0aef..3020d11bf 100644 --- a/src/js/widgets/resources/components/app.jsx.js +++ b/src/js/widgets/resources/components/app.jsx.js @@ -37,7 +37,7 @@ define([ target="_blank" rel="noopener" onClick={() => onClick(g)} - title={`${g.description} ${g.open ? 'OPEN ACCESS' : 'SIGN IN REQUIRED'}`} + title={`${g.description} ${g.open ? 'OPEN ACCESS' : g.type === 'INSTITUTION' ? '' : 'SIGN IN REQUIRED'}`} className={`resources__content__link ${g.open ? 'unlock' : ''}`}> {g.type === 'PDF' &&