Skip to content

Commit

Permalink
organisations: fix translation of labels
Browse files Browse the repository at this point in the history
* Closes rero/rero-ils#2036.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
  • Loading branch information
Garfield-fr committed Jun 16, 2021
1 parent 197c291 commit 2d141b3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ <h1>{{ record.metadata.name }}</h1>
<dl class="row">
<!-- ADDRESS -->
<ng-container *ngIf="record.metadata.address">
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title">Address</dt>
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title" translate>Address</dt>
<dd class="col-sm-7 col-md-8 mb-0">
{{ record.metadata.address }}
</dd>
</ng-container>
<!-- CODE -->
<ng-container *ngIf="record.metadata.address">
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title">Code</dt>
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title" translate>Code</dt>
<dd class="col-sm-7 col-md-8 mb-0">
{{ record.metadata.code }}
</dd>
</ng-container>
<!-- DEFAULT CURRENCY -->
<ng-container *ngIf="record.metadata.default_currency">
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title">Default currency</dt>
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title" translate>Default currency</dt>
<dd class="col-sm-7 col-md-8 mb-0">
{{ record.metadata.default_currency }}
</dd>
</ng-container>
<!-- ACTIVE BUDGET -->
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title">Active budget</dt>
<dt class="col-sm-3 offset-sm-2 offset-md-0 label-title" translate>Active budget</dt>
<dd class="col-sm-7 col-md-8 mb-0">
<admin-budget-select *ngIf="isSystemLibrarian; else librarian" [organisation]="record"></admin-budget-select>
<ng-template #librarian>
Expand Down

0 comments on commit 2d141b3

Please sign in to comment.