Skip to content

Commit 9faf56d

Browse files
committed
both showing
1 parent ae5bcd7 commit 9faf56d

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

01JHU_INST-JHU/html/prm-location-holdings-after.html

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
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 {
3+
noe .jh-boundswith-card {
144
margin: 15px 0 0 0 !important;
155
}
166
</style>
@@ -110,6 +100,25 @@
110100
</div>
111101
</div>
112102
</div>
103+
<md-button
104+
class="button-as-link link-alt-color"
105+
(click)="$ctrl.$ctrl.parentCtrl.viewMore(!$ctrl.summaryLinesVisible, $event)"
106+
ng-if="($ctrl.parentCtrl.currLoc.locationNoItems ? !$ctrl.parentCtrl.summaryLinesVisible : $ctrl.parentCtrl.summaryLinesVisible) && $ctrl.parentCtrl.currLoc.summaryHoldings.baseSummaryShort.length > 0 && $ctrl.parentCtrl.currLoc.isHoldingExpandedData"
107+
aria-label="{{'nui.aria.locations.viewLess' | translate}}"
108+
><span
109+
translate="nui.locations.viewLess"
110+
class="bold-text"
111+
></span></md-button
112+
><md-button
113+
class="button-as-link link-alt-color"
114+
(click)="$ctrl.parentCtrl.viewMore(!$ctrl.summaryLinesVisible, $event)"
115+
ng-if="($ctrl.parentCtrl.currLoc.locationNoItems ? $ctrl.parentCtrl.summaryLinesVisible : !$ctrl.parentCtrl.summaryLinesVisible) && $ctrl.parentCtrl.currLoc.summaryHoldings.baseSummaryShort.length > 0 && $ctrl.parentCtrl.currLoc.isHoldingExpandedData"
116+
aria-label="{{'nui.aria.locations.viewMore' | translate}}"
117+
><span
118+
translate="nui.locations.viewMore"
119+
class="bold-text"
120+
></span
121+
></md-button>
113122
</md-card-content>
114123
</md-card>
115124
</div>

0 commit comments

Comments
 (0)