i18n: Adding new languages: Part 2 (#1885)
Co-authored-by: radhathakare <radhathakare322@gmail.com>
This commit is contained in:
co-authored by
radhathakare
parent
408f004450
commit
3c625d81c4
@@ -2,12 +2,12 @@
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="start">
|
||||
<div class="m-b-10">
|
||||
<h3>Client Members</h3>
|
||||
<h3>{{"labels.heading.Client Members" | translate }}</h3>
|
||||
</div>
|
||||
<div class="action-button m-b-10" fxLayoutGap="25px" *ngIf="groupStatus !== 'Closed'">
|
||||
<button mat-raised-button class="f-right" color="primary"
|
||||
*mifosxHasPermission="'ASSIGNROLE_GROUP'" [routerLink]="['add-role']">
|
||||
<i class="fa fa-plus"></i> Add</button>
|
||||
<i class="fa fa-plus"></i> {{"labels.buttons.Add" | translate }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,27 +16,27 @@
|
||||
<table #rolesTable mat-table [dataSource]="groupRolesData" class="mat-elevation-z1 m-b-25">
|
||||
|
||||
<ng-container matColumnDef="Name">
|
||||
<th mat-header-cell *matHeaderCellDef> Name </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.name" | translate }} </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.clientName}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="Role">
|
||||
<th mat-header-cell *matHeaderCellDef> Role </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Role" | translate }} </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.role.name}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="Client Id">
|
||||
<th mat-header-cell *matHeaderCellDef> Client Id </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Client Id" | translate }} </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.clientId}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="Actions">
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Actions" | translate }} </th>
|
||||
<td mat-cell *matCellDef="let element">
|
||||
<span *ngIf="groupStatus !== 'Closed'">
|
||||
<button class="account-action-button" mat-raised-button color="warn"
|
||||
*mifosxHasPermission="'UNASSIGNROLE_GROUP'" (click)="unassignRole(element.clientId, element.id)">
|
||||
<i class="fa fa-ban" matTooltip="Unassign"></i>
|
||||
<i class="fa fa-ban" matTooltip="{{ 'tooltips.Unassign' | translate }}"></i>
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user