This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.component('prmLocationAfter', { | |
bindings: { parentCtrl: '<' }, | |
template: | |
'<custom-holdings-note parent-ctrl="$ctrl.parentCtrl"></custom-holdings-note>' | |
}); | |
app.component('prmLocationItemsAfter', { | |
bindings: { parentCtrl: '<' }, | |
template: | |
'<custom-holdings-note parent-ctrl="$ctrl.parentCtrl"></custom-holdings-note>' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copies GES-based ILL link and adds url parameter that can be passed to ILL form, then hides original link. Have not yet added this to production. | |
app.component('lrIllLink', { | |
bindings: {parentCtrl: '<'}, | |
template: | |
`<div ng-if="$ctrl.show"> | |
<md-list layout="column"> | |
<md-list-item> | |
<div layout="row" flex=""> | |
<div layout="row"> | |
<div layout="column" flex="" flex-xs="100"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
'use strict'; | |
const app = angular.module('viewCustom', ['angularLoad']); | |
app.component('prmSearchResultAvailabilityLineAfter', { | |
bindings: { parentCtrl: '<' }, | |
// the template includes the component that we are defining below | |
template: | |
'<lr-view-buttons parent-ctrl="$ctrl.parentCtrl"></lr-view-buttons>' | |
}); | |
app.component('lrViewButtons', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const collections = [ | |
'system,edsbltc', // asp black thought and culture | |
'system,a0720561', // newsbank access world news | |
'system,a00000010400000007503', // digital theatre plus | |
'system,a0188076', // Gale slavery and anti-slavery I | |
'system,a0188078', // Gale slavery and antislavery III | |
// next three are ProQuest NY Times archive - not clear which is correct | |
'system,pqnytime', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const collections = [ | |
'system,a00000000280000017891', // JSTOR Archival and Primary Source Collection | |
'system,a0180353', // Literature Resource Center | |
'system,a0161245', // ovid | |
'system,a00000000570000022724', // SAGE Premier 2021 | |
'system,a00000000570000024518', // SAGE Premier 2022 | |
'system,a0261079', // sciencedirect | |
'system,a00000000580000021983', // Wiley database model 2021 | |
'system,a00000000580000024428', // Wiley db model 2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var titleList = []; | |
var isbnList = []; | |
var titles = document.getElementsByClassName('title-text'); | |
for (var i = 0; i < titles.length; i++) { | |
titleList.push(titles[i].innerHTML); | |
} | |
var el = document.getElementsByClassName('label'); | |
for (i = 0; i < el.length; i++) { | |
if (el[i].innerHTML === 'ISBN:') { | |
el[i].classList.add('ib-label'); |