Skip to content

Commit

Permalink
Issues: Fix several issues
Browse files Browse the repository at this point in the history
Closes rero/rero-ils#1846.
Closes rero/rero-ils#1812.
Closes rero/rero-ils#1599.
Closes rero/rero-ils#1821.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed May 14, 2021
1 parent d882e49 commit f7e6f9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import { ResultItem } from '@rero/ng-core';
<div class="card-text px-2">
<p class="mb-0">{{ record.metadata.birth_date | dateTranslate:'mediumDate' }} &mdash; {{ record.metadata.city }}</p>
<span class="font-weight-bold">
<ng-container *ngIf="record.metadata.roles.length === 1; else roles" translate>Role</ng-container>
<ng-template #roles translate>Roles</ng-template>:
<ng-container *ngIf="record.metadata.roles.length === 1; else roles">{{ 'Role' | translate }}</ng-container>
<ng-template #roles>{{ 'Roles' | translate }}</ng-template>:
</span>
<span *ngFor="let role of record.metadata.roles; let isLast=last">
{{ role | translate }}{{isLast ? '' : ', '}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ <h3 id="{{'doc-altgr-title-' + i}}">{{ altgr_title }}</h3>
<ng-template #stringBlock>
{{ identifier.value }}
</ng-template>
<ng-container *ngIf="identifier.details"> - {{ identifier.details }}</ng-container>
<small class="badge badge-secondary text-uppercase ml-1" translate>
{{ identifier.type }}
</small>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<!-- Loan requested -->

<div class="card-header">
<b>{{ requestedBy.length | i18nPlural: {'=0': 'Request', '=1': 'Request', 'other': 'Requests'} | translate }}</b>
<b translate>Requested by</b>
<button class="btn btn-outline-primary btn-link btn-sm ml-2 float-right" (click)="addRequest()">
<i class="fa fa-plus-square-o"></i> {{ 'Add' | translate }} …
</button>
Expand Down
1 change: 1 addition & 0 deletions projects/admin/src/manual_translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ _('{{ counter }} hidden holdings');

// Menu entries
_('User services');
_('Catalog');
_('ILL requests');
_('Import from the web');
_('Corporate bodies');
Expand Down

0 comments on commit f7e6f9e

Please sign in to comment.