Skip to content

Commit

Permalink
circulation: display library name while transit
Browse files Browse the repository at this point in the history
* Displays library name while loan is in transit status
* Fixes #769

Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
  • Loading branch information
blankoworld committed Feb 20, 2020
1 parent 744c162 commit bacbb08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $ git clone https://github.com/rero/rero-ils-ui.git/
$ cd rero-ils-ui
$ nvm use lts/dubnium
# Install angular-cli
$ npm i -g angular-cli
$ npm i -g @angular/cli@8.3.25
# Project npm dependencies
$ npm i
# Launch a local server using a proxy for https://localhost:5000 (rero-ils server)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<li *ngSwitchCase="'on_loan'">{{ item.status | translate }} <i class="fa fa-arrow-right" aria-hidden="true"></i>
{{ item.loan.dueDate | dateTranslate :'shortDate' }}</li>
<li *ngSwitchCase="'in_transit'">{{ item.status | translate }} (to
{{ getTransitLocationPid(item) | getRecord: 'locations' : 'field' : 'code' | async }})</li>
{{ item.loan.pickup_location.library_name }})</li>
<li *ngSwitchCase="'on_shelf'">{{ item.status | translate }}</li>
<li *ngSwitchDefault>{{ item.status | translate }}</li>
</ng-container>
Expand Down

0 comments on commit bacbb08

Please sign in to comment.