feat:Home Translate Module (#1807)
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
<mat-card-header class="header">
|
||||
<h3 fxFlex="100%">
|
||||
<fa-icon icon="donate"></fa-icon>
|
||||
Amount Collected
|
||||
{{"labels.inputs.Amount Collected" |translate}}
|
||||
<div>
|
||||
<mat-form-field id="office" fxFlex="94%">
|
||||
<mat-label>Office</mat-label>
|
||||
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
|
||||
<mat-select [formControl]="officeId">
|
||||
<mat-option *ngFor="let office of officeData" [value]="office.id">
|
||||
{{ office.name }}
|
||||
@@ -23,7 +23,7 @@
|
||||
<canvas id="collection-pie" width="800" height="600"></canvas>
|
||||
</div>
|
||||
<div *ngIf="showFallback" class="fallback" fxLayoutAlign="center center">
|
||||
<p>No Data</p>
|
||||
<p>{{"labels.text.No Data" |translate}}</p>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<mat-card-header class="header">
|
||||
<h3 fxFlex="100%">
|
||||
<fa-icon icon="money-bill"></fa-icon>
|
||||
Amount Pending / Disbursed
|
||||
{{"labels.inputs.Amount Pending / Disbursed" |translate}}
|
||||
<div>
|
||||
<mat-form-field id="office" fxFlex="94%">
|
||||
<mat-label>Office</mat-label>
|
||||
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
|
||||
<mat-select [formControl]="officeId">
|
||||
<mat-option *ngFor="let office of officeData" [value]="office.id">
|
||||
{{ office.name }}
|
||||
@@ -23,7 +23,7 @@
|
||||
<canvas id="disbursement-pie" width="800" height="600"></canvas>
|
||||
</div>
|
||||
<div *ngIf="showFallback" class="fallback" fxLayoutAlign="center center">
|
||||
<p>No Data</p>
|
||||
<p>{{"labels.text.No Data" |translate}}</p>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<mat-card-header class="header">
|
||||
<h3 fxFlex="100%">
|
||||
<fa-icon icon="chart-line"></fa-icon>
|
||||
Client Trends
|
||||
{{"labels.inputs.Client Trends" |translate}}
|
||||
<div>
|
||||
<mat-form-field id="office" fxFlex="94%">
|
||||
<mat-label>Office</mat-label>
|
||||
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
|
||||
<mat-select [formControl]="officeId">
|
||||
<mat-option *ngFor="let office of officeData" [value]="office.id">
|
||||
{{ office.name }}
|
||||
@@ -23,9 +23,9 @@
|
||||
<canvas id="client-trends-bar" width="800" height="465"></canvas>
|
||||
</div>
|
||||
<mat-button-toggle-group [formControl]="timescale" id='timescale' appearance="legacy">
|
||||
<mat-button-toggle value="Day">Day</mat-button-toggle>
|
||||
<mat-button-toggle value="Week">Week</mat-button-toggle>
|
||||
<mat-button-toggle value="Month">Month</mat-button-toggle>
|
||||
<mat-button-toggle value="Day">{{"labels.buttons.Day" |translate}}</mat-button-toggle>
|
||||
<mat-button-toggle value="Week">{{"labels.buttons.Week" |translate}}</mat-button-toggle>
|
||||
<mat-button-toggle value="Month">{{"labels.buttons.Month" |translate}}</mat-button-toggle>
|
||||
</mat-button-toggle-group>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<mat-card-header class="header">
|
||||
<h3><fa-icon icon="bolt"></fa-icon>
|
||||
Recent Activities</h3>
|
||||
{{"labels.heading.Recent Activities" |translate}}</h3>
|
||||
</mat-card-header>
|
||||
|
||||
<mat-card-content>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<mat-card-header class="header">
|
||||
<h3><fa-icon icon="laptop"></fa-icon>
|
||||
Frequent Activities</h3>
|
||||
{{"labels.heading.Frequent Activities" |translate}}</h3>
|
||||
</mat-card-header>
|
||||
|
||||
<mat-card-content>
|
||||
|
||||
Reference in New Issue
Block a user