|
7 | 7 | $sceDelegateProvider.resourceUrlWhitelist(urlWhitelist); |
8 | 8 | }]); |
9 | 9 |
|
10 | | -// Add Article In Context & Browzine Links |
| 10 | +// Add Article In Context & BrowZine Links |
11 | 11 | app.controller('prmSearchResultAvailabilityLineAfterController', function($scope, $http, nodeserver) { |
12 | 12 | var vm = this; |
13 | 13 | if (vm.parentCtrl.result.pnx.addata.doi && vm.parentCtrl.result.pnx.display.type[0] == 'article') { |
|
31 | 31 |
|
32 | 32 | }); |
33 | 33 |
|
| 34 | +// Below is where you can customize the wording that is displayed (as well as the hover over text) for the BrowZine links. |
| 35 | +// St Olaf has chosen "View Journal Contents" for the "Journal Availability Link" but other great options include things such as "View Journal" or "View this Journal" |
| 36 | +// St Olaf is using "View Issue Contents" for the "Article in Context" link but another great option is "View Complete Issue" or "View Article in Context". |
| 37 | +// St Olaf also has added a hover over link that says "Via BrowZine" to emphasize the interaction being used. |
| 38 | + |
34 | 39 | app.component('prmSearchResultAvailabilityLineAfter', { |
35 | 40 | bindings: { parentCtrl: '<' }, |
36 | 41 | controller: 'prmSearchResultAvailabilityLineAfterController', |
37 | 42 | template: ` |
38 | | - <div ng-if="article.data.browzineWebLink"><a href="{{ article.data.browzineWebLink }}" target="_blank" title="Via Browzine"><img src="custom/01BRC_SOC/img/browzine.png" class="browzine-icon"> View Issue Contents <md-icon md-svg-icon="primo-ui:open-in-new" aria-label="icon-open-in-new" role="img" class="browzine-external-link"><svg id="open-in-new_cache29" width="100%" height="100%" viewBox="0 0 24 24" y="504" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"></svg></md-icon></a></div> |
39 | | - <div ng-if="journal.data[0].browzineWebLink"><a href="{{ journal.data[0].browzineWebLink }}" target="_blank" title="Via Browzine"><img src="custom/01BRC_SOC/img/browzine.png" class="browzine-icon"> View Journal Contents <md-icon md-svg-icon="primo-ui:open-in-new" aria-label="icon-open-in-new" role="img" class="browzine-external-link"><svg id="open-in-new_cache29" width="100%" height="100%" viewBox="0 0 24 24" y="504" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"></svg></md-icon></a></div> |
| 43 | + <div ng-if="article.data.browzineWebLink"><a href="{{ article.data.browzineWebLink }}" target="_blank" title="Via BrowZine"><img src="custom/01BRC_SOC/img/browzine.png" class="browzine-icon"> View Issue Contents <md-icon md-svg-icon="primo-ui:open-in-new" aria-label="icon-open-in-new" role="img" class="browzine-external-link"><svg id="open-in-new_cache29" width="100%" height="100%" viewBox="0 0 24 24" y="504" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"></svg></md-icon></a></div> |
| 44 | + <div ng-if="journal.data[0].browzineWebLink"><a href="{{ journal.data[0].browzineWebLink }}" target="_blank" title="Via BrowZine"><img src="custom/01BRC_SOC/img/browzine.png" class="browzine-icon"> View Journal Contents <md-icon md-svg-icon="primo-ui:open-in-new" aria-label="icon-open-in-new" role="img" class="browzine-external-link"><svg id="open-in-new_cache29" width="100%" height="100%" viewBox="0 0 24 24" y="504" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"></svg></md-icon></a></div> |
40 | 45 | ` |
41 | 46 | }); |
42 | 47 |
|
43 | | -// Add Journal Cover Images from Browzine |
| 48 | +// Add Journal Cover Images from BrowZine |
44 | 49 | app.controller('prmSearchResultThumbnailContainerAfterController', function($scope, $http, nodeserver) { |
45 | 50 | var vm = this; |
46 | 51 | var newThumbnail = ''; |
|
0 commit comments