RED-1772 finalization

This commit is contained in:
Timo Bejan 2021-07-28 08:39:20 +03:00 committed by Timo Bejan
parent 837bb5733b
commit 5363e939d3
4 changed files with 19 additions and 17 deletions

View File

@ -37,7 +37,6 @@
{{ 'top-bar.navigation-items.back' | translate }}
</a>
<ng-container *ngIf="dossiersView">
<mat-icon *ngIf="!appStateService.activeDossier" class="primary" svgIcon="red:arrow-down"></mat-icon>
<mat-icon *ngIf="appStateService.activeDossier" svgIcon="red:arrow-right"></mat-icon>
<a
*ngIf="appStateService.activeDossier"

View File

@ -73,21 +73,22 @@
<p class="download-includes">{{ 'download-includes' | translate }}</p>
<div class="d-flex">
<!-- only in edit mode-->
<redaction-select
*ngIf="dossierTemplate?.dossierTemplateId"
[label]="
'report-type.label'
| translate
: {
length: dossierTemplateForm.controls['reportTemplateIds'].value.length
}
"
[optionTemplate]="reportTemplateOptionTemplate"
[options]="availableReportTypes"
[valueMapper]="reportTemplateValueMapper"
class="mr-16"
formControlName="reportTemplateIds"
></redaction-select>
<!-- Temporary Disabled since backend doesn't support this -->
<!-- <redaction-select-->
<!-- *ngIf="dossierTemplate?.dossierTemplateId"-->
<!-- [label]="-->
<!-- 'report-type.label'-->
<!-- | translate-->
<!-- : {-->
<!-- length: dossierTemplateForm.controls['reportTemplateIds'].value.length-->
<!-- }-->
<!-- "-->
<!-- [optionTemplate]="reportTemplateOptionTemplate"-->
<!-- [options]="availableReportTypes"-->
<!-- [valueMapper]="reportTemplateValueMapper"-->
<!-- class="mr-16"-->
<!-- formControlName="reportTemplateIds"-->
<!-- ></redaction-select>-->
<redaction-select
[label]="
'download-type.label'

View File

@ -62,6 +62,8 @@ export class SelectComponent implements AfterViewInit, ControlValueAccessor {
this._selectChips(value);
} else if (value) {
this._value = value;
} else {
this._value = [];
}
}

View File

@ -1240,7 +1240,7 @@
"top-bar": {
"navigation-items": {
"back": "Back",
"dossiers": "Active Dossier",
"dossiers": "Active Dossiers",
"my-account": {
"children": {
"admin": "Settings",