Browse Source
Task/improve language localization in historical market data table of admin control panel (#7351)
* Improve language localization
* Update changelog
pull/6947/merge
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
30 additions and
6 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-market-data/admin-market-data.component.ts
-
apps/client/src/app/components/admin-market-data/admin-market-data.html
-
apps/client/src/styles.scss
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Migrated the clone, create and edit activity dialogs to dedicated routes |
|
|
|
- Improved the language localization in the historical market data table of the admin control panel |
|
|
|
- Improved the language localization in the tag management of the admin control panel |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
@ -158,6 +158,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
|
protected placeholder = ''; |
|
|
|
protected readonly selection = new SelectionModel<AssetProfileItem>(true); |
|
|
|
protected totalItems = 0; |
|
|
|
protected readonly translate = translate; |
|
|
|
protected user: User; |
|
|
|
|
|
|
|
private activeFilters: Filter[] = []; |
|
|
|
|
|
|
|
@ -87,7 +87,11 @@ |
|
|
|
> |
|
|
|
<ng-container i18n>Name</ng-container> |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="line-height-1 px-1" mat-cell> |
|
|
|
<td |
|
|
|
*matCellDef="let element" |
|
|
|
class="line-height-normal px-1" |
|
|
|
mat-cell |
|
|
|
> |
|
|
|
<div class="text-truncate">{{ element.name }}</div> |
|
|
|
@if (!isUUID(element.symbol)) { |
|
|
|
<div> |
|
|
|
@ -113,8 +117,17 @@ |
|
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header> |
|
|
|
<ng-container i18n>Asset Class</ng-container> |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
|
{{ element.assetClass }} |
|
|
|
<td |
|
|
|
*matCellDef="let element" |
|
|
|
class="line-height-normal px-1 text-nowrap" |
|
|
|
mat-cell |
|
|
|
> |
|
|
|
<div>{{ translate(element.assetClass) }}</div> |
|
|
|
@if (element.assetClass) { |
|
|
|
<div> |
|
|
|
<small class="text-muted">{{ element.assetClass }}</small> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
@ -122,8 +135,17 @@ |
|
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header> |
|
|
|
<ng-container i18n>Asset Sub Class</ng-container> |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
|
{{ element.assetSubClass }} |
|
|
|
<td |
|
|
|
*matCellDef="let element" |
|
|
|
class="line-height-normal px-1 text-nowrap" |
|
|
|
mat-cell |
|
|
|
> |
|
|
|
<div>{{ translate(element.assetSubClass) }}</div> |
|
|
|
@if (element.assetSubClass) { |
|
|
|
<div> |
|
|
|
<small class="text-muted">{{ element.assetSubClass }}</small> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
|
|
@ -385,7 +385,7 @@ ngx-skeleton-loader { |
|
|
|
} |
|
|
|
|
|
|
|
.line-height-normal { |
|
|
|
line-height: normal; |
|
|
|
line-height: normal !important; |
|
|
|
} |
|
|
|
|
|
|
|
.mat-mdc-button-base { |
|
|
|
|