Skip to content

Commit

Permalink
circulation: improve labels
Browse files Browse the repository at this point in the history
* Renames checkin/checkout tab into 'on loan'.
* Renames 'Circulation' menu into 'Checkout/checkin'.
* Improves a placeholder.
* Adds a title to the checkin view.
* Closes rero/rero-ils#1280.

Thoses changes were asked by pilot libraries to make the interface
clearer.

Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
  • Loading branch information
Alicia Zangger committed Nov 25, 2020
1 parent 1955d44 commit dee47ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<h4 translate>Checkout/checkin</h4>
<section *ngIf="!isLoading; else loading" class="content">
<div class="row">
<div class="col col-md-6 mb-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="row mb-4">
<div class="col-12 col-md-6">
<ng-core-search-input
[placeholder]="'Please enter an item barcode.' | translate"
[placeholder]="'Checkout/checkin: please enter an item barcode.' | translate"
[searchText]="searchText"
(search)="searchValueUpdated($event)"
[focus]="searchInputFocus"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
routerLinkActive="active"
[routerLinkActiveOptions]="{exact: true}"
[routerLink]="['/circulation', 'patron', patron.patron.barcode, 'loan']">
{{ 'Checkin/Checkout' | translate }}
{{ 'On loan' | translate }}
<span *ngIf="getCirculationStatistics('loans') > 0" class="badge badge-info font-weight-normal">
{{ getCirculationStatistics('loans') }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion projects/admin/src/app/service/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class MenuService {
iconCssClass: 'fa fa-users',
id: 'user-services-menu',
entries: [{
name: this._translateService.instant('Circulation'),
name: this._translateService.instant('Checkout/checkin'),
routerLink: '/circulation',
iconCssClass: 'fa fa-exchange',
id: 'circulation-menu'
Expand Down

0 comments on commit dee47ca

Please sign in to comment.