11< div >
22 < style >
3- prm-location-holdings > * {
4- visibility : hidden;
5- height : 0 ;
6- width : 0 ;
7- margin : 0 ;
8- padding : 0 ;
9- }
10- prm-location-holdings-after {
11- visibility : visible;
12- }
13- .jh-boundswith-card {
14- margin : 15px 0 0 0 !important ;
15- }
3+ prm-location-holdings > * {
4+ visibility : hidden;
5+ height : 0 ;
6+ width : 0 ;
7+ margin : 0 ;
8+ padding : 0 ;
9+ }
10+ prm-location-holdings-after {
11+ visibility : visible;
12+ }
13+ .jh-boundswith-card {
14+ margin : 15px 0 0 0 !important ;
15+ }
1616 </ style >
17- < md-card class ="jh-boundswith-card " md-theme-watch >
18- < md-card-title >
19- < md-card-title-text >
20- < span class ="md-headline "> Holdings Information</ span >
21- </ md-card-title-text >
22- </ md-card-title >
23- < md-card-content >
24- < div ng-repeat ="line in $ctrl.holdings ">
25- < span ng-if ="$ctrl.isAvailabilityLine(line) ">
26- < div class ="margin-bottom-medium ">
27- This item is physically bound with another item.
17+ < md-card
18+ ng-if ="$ctrl.holdings && $ctrl.holdings.length > 0 "
19+ class ="jh-boundswith-card "
20+ md-theme-watch
21+ >
22+ < md-card-title >
23+ < md-card-title-text >
24+ < span class ="md-headline "> Holdings Information</ span >
25+ </ md-card-title-text >
26+ </ md-card-title >
27+ < md-card-content >
28+ < div ng-repeat ="line in $ctrl.holdings ">
29+ < span ng-if ="$ctrl.isAvailabilityLine(line) ">
30+ < div class ="margin-bottom-medium ">
31+ This item is physically bound with another item.
32+ </ div >
33+ < span class ="bold-text "> For availability see:</ span >
34+ < a
35+ ng-if ="$ctrl.hasValidLink(line) "
36+ ng-href ="{{$ctrl.getAvailabilityLink(line)}} "
37+ >
38+ {{$ctrl.getLinkText(line)}}
39+ </ a >
40+ </ span >
2841 </ div >
29- < span class ="bold-text "> For availability see:</ span >
30- < a ng-if ="$ctrl.hasValidLink(line) " ng-href ="{{$ctrl.getAvailabilityLink(line)}} ">
31- {{$ctrl.getLinkText(line)}}
32- </ a >
33- </ span >
34- </ div >
35-
36- < div ng-if ="$ctrl.shouldShowBaseSummary() " class ="display-block " layout ="row " layout-align ="start start ">
37- < div layout ="column ">
38- < div ng-repeat ="summaryLine in $ctrl.getBaseSummaryLines() track by $index " layout ="row ">
39- < div translate ="{{summaryLine.key}} " class ="margin-right-small summary-brief-header "
40- ng-class ="{'margin-right-medium': $ctrl.parentCtrl.mediaQueries.xs} "> </ div >
41- < span class ="summary-brief word-break-all " ng-style ="$ctrl.getStyle() ">
42- < a ng-if ="$ctrl.isLink(summaryLine.value) " ng-href ="{{summaryLine.value}} "> {{summaryLine.value}}</ a >
43- < span ng-if ="!$ctrl.isLink(summaryLine.value) " ng-bind-html ="summaryLine.value "> </ span >
44- </ span >
42+
43+ < div
44+ ng-if ="$ctrl.shouldShowBaseSummary() "
45+ class ="display-block "
46+ layout ="row "
47+ layout-align ="start start "
48+ >
49+ < div layout ="column ">
50+ < div
51+ ng-repeat ="summaryLine in $ctrl.getBaseSummaryLines() track by $index "
52+ layout ="row "
53+ >
54+ < div
55+ translate ="{{summaryLine.key}} "
56+ class ="margin-right-small summary-brief-header "
57+ ng-class ="{'margin-right-medium': $ctrl.parentCtrl.mediaQueries.xs} "
58+ > </ div >
59+ < span
60+ class ="summary-brief word-break-all "
61+ ng-style ="$ctrl.getStyle() "
62+ >
63+ < a
64+ ng-if ="$ctrl.isLink(summaryLine.value) "
65+ ng-href ="{{summaryLine.value}} "
66+ > {{summaryLine.value}}</ a
67+ >
68+ < span
69+ ng-if ="!$ctrl.isLink(summaryLine.value) "
70+ ng-bind-html ="summaryLine.value "
71+ > </ span >
72+ </ span >
73+ </ div >
74+ </ div >
4575 </ div >
46- </ div >
47- </ div >
48-
49- < div ng-if ="$ctrl.shouldShowAllLines() " layout ="row " layout-align ="start start " class ="display-block ">
50- < div layout ="column ">
51- < div ng-repeat ="allLine in $ctrl.getAllLines() track by $index ">
52- < div ng-if ="!$ctrl.isAvailabilityLine(allLine) ">
53- < div >
54- < span class ="bold-text " translate ="{{allLine.key}} "> </ span >
55- < span ng-repeat ="lineItem in allLine.value track by $index ">
56- < span >
57- < a ng-if ="$ctrl.isLink(lineItem) " ng-href ="{{lineItem}} "> {{lineItem}}</ a >
58- < span ng-if ="!$ctrl.isLink(lineItem) " ng-bind-html ="lineItem "> </ span >
59- </ span >
60- </ span >
76+
77+ < div
78+ ng-if ="$ctrl.shouldShowAllLines() "
79+ layout ="row "
80+ layout-align ="start start "
81+ class ="display-block "
82+ >
83+ < div layout ="column ">
84+ < div
85+ ng-repeat ="allLine in $ctrl.getAllLines() track by $index "
86+ >
87+ < div ng-if ="!$ctrl.isAvailabilityLine(allLine) ">
88+ < div >
89+ < span
90+ class ="bold-text "
91+ translate ="{{allLine.key}} "
92+ > </ span >
93+ < span
94+ ng-repeat ="lineItem in allLine.value track by $index "
95+ >
96+ < span >
97+ < a
98+ ng-if ="$ctrl.isLink(lineItem) "
99+ ng-href ="{{lineItem}} "
100+ > {{lineItem}}</ a
101+ >
102+ < span
103+ ng-if ="!$ctrl.isLink(lineItem) "
104+ ng-bind-html ="lineItem "
105+ > </ span >
106+ </ span >
107+ </ span >
108+ </ div >
109+ </ div >
110+ </ div >
61111 </ div >
62- </ div >
63112 </ div >
64- </ div >
65- </ div >
66- </ md-card-content >
113+ </ md-card-content >
67114 </ md-card >
68- </ div >
69-
115+ </ div >
0 commit comments