Skip to content

Commit

Permalink
Add message if there are no services
Browse files Browse the repository at this point in the history
and you are logged in.
  • Loading branch information
little9 committed Apr 2, 2024
1 parent 10e8353 commit 2159eb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 01JHU_INST-JHU/html/prm-location-items-after.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h5 class="section-title">
[is-after-filtering]="$ctrl.parentCtrl.isFiltered" [drop-down-options]="$ctrl.parentCtrl.dropDownOptions" [filters]="$ctrl.parentCtrl.filters"
(clear-filters-event)="$ctrl.parentCtrl.clearFilters(true)"></prm-locations-filter>
<div ng-if="$ctrl.parentCtrl.currLoc.locationNoItems" class="padding-left-medium">

<div class="bar alert-bar margin-bottom-medium" layout="row" layout-align="start center"><span flex
ng-if="$ctrl.parentCtrl.isLoggedIn();" translate="nui.locations.noitems.signin"></span> <span flex
ng-if="!$ctrl.parentCtrl.isLoggedIn();" translate="nui.locations.noitems.guest"></span></div>
Expand Down Expand Up @@ -90,6 +91,7 @@ <h5 class="section-title">
</div>
</div>
<div layout-align="end center" layout="row" layout-wrap flex-xs="100" flex-sm="30">
<div ng-if="$ctrl.parentCtrl.isLoggedIn() && item.listOfServices.length === 0" style="margin-top: 1.5em; font-weight: bold;" flex flex-xs="100">Select an available copy to request</span></div>
<div ng-if="!$ctrl.parentCtrl.currLoc.location.isValidUser"><span translate="item.request.not_available"></span></div>
<div ng-if="$ctrl.parentCtrl.currLoc.location.isValidUser && item.listOfServices.length === 0 && $ctrl.parentCtrl.isLoggedIn()">
<span translate="item.request.blocked"></span></div>
Expand Down

0 comments on commit 2159eb1

Please sign in to comment.