RED-4649 - Create new app keys for help mode for the user manual
This commit is contained in:
parent
f5df059542
commit
5235f934aa
@ -36,7 +36,7 @@
|
|||||||
<span>{{ dossierTemplateName }} </span>
|
<span>{{ dossierTemplateName }} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div (click)="openEditDossierDialog('dossierDictionary')" [iqserHelpMode]="'edit_dossier_dictionary'" class="link-property">
|
<div (click)="openEditDossierDialog('dossierDictionary')" [iqserHelpMode]="'edit_dossier_dossier_dictionary'" class="link-property">
|
||||||
<mat-icon svgIcon="red:dictionary"></mat-icon>
|
<mat-icon svgIcon="red:dictionary"></mat-icon>
|
||||||
<span>{{ 'dossier-overview.dossier-details.dictionary' | translate }} </span>
|
<span>{{ 'dossier-overview.dossier-details.dictionary' | translate }} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
[tableColumnConfigs]="tableColumnConfigs"
|
[tableColumnConfigs]="tableColumnConfigs"
|
||||||
[tableItemClasses]="{ disabled: disabledFn, 'last-opened': lastOpenedFn }"
|
[tableItemClasses]="{ disabled: disabledFn, 'last-opened': lastOpenedFn }"
|
||||||
[helpModeKey]="'document'"
|
[helpModeKey]="'document'"
|
||||||
|
[headerHelpModeKey]="'document_list'"
|
||||||
></iqser-table>
|
></iqser-table>
|
||||||
|
|
||||||
<iqser-workflow
|
<iqser-workflow
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
[noMatchText]="'dossier-listing.no-match.title' | translate"
|
[noMatchText]="'dossier-listing.no-match.title' | translate"
|
||||||
[showNoDataButton]="permissionsService.canCreateDossier(dossierTemplate)"
|
[showNoDataButton]="permissionsService.canCreateDossier(dossierTemplate)"
|
||||||
[tableColumnConfigs]="tableColumnConfigs"
|
[tableColumnConfigs]="tableColumnConfigs"
|
||||||
|
[headerHelpModeKey]="'dossier_list'"
|
||||||
noDataIcon="red:folder"
|
noDataIcon="red:folder"
|
||||||
></iqser-table>
|
></iqser-table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,4 +1,10 @@
|
|||||||
<div [matTooltip]="dossier.dossierName" class="table-item-title heading mb-6" matTooltipPosition="above">
|
<div
|
||||||
|
[matTooltip]="dossier.dossierName"
|
||||||
|
class="table-item-title heading mb-6"
|
||||||
|
matTooltipPosition="above"
|
||||||
|
[iqserHelpMode]="'dossier'"
|
||||||
|
[scrollableParentView]="scrollableParentView"
|
||||||
|
>
|
||||||
{{ dossier.dossierName }}
|
{{ dossier.dossierName }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
||||||
import { DossierStats, IDossier } from '@red/domain';
|
import { DossierStats, IDossier } from '@red/domain';
|
||||||
import { DossierTemplatesService } from '@services/dossier-templates/dossier-templates.service';
|
import { DossierTemplatesService } from '@services/dossier-templates/dossier-templates.service';
|
||||||
import { List } from '@iqser/common-ui';
|
import { List, ScrollableParentView, ScrollableParentViews } from '@iqser/common-ui';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import { dateWithoutTime } from '@utils/functions';
|
import { dateWithoutTime } from '@utils/functions';
|
||||||
|
|
||||||
@ -35,6 +35,10 @@ export class DossierNameColumnComponent {
|
|||||||
return this._dueDateDaysDiff < 0;
|
return this._dueDateDaysDiff < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get scrollableParentView(): ScrollableParentView {
|
||||||
|
return ScrollableParentViews.VIRTUAL_SCROLL;
|
||||||
|
}
|
||||||
|
|
||||||
private get _dueDateDaysDiff(): number {
|
private get _dueDateDaysDiff(): number {
|
||||||
return dayjs(this.dossier.dueDate).diff(dateWithoutTime(dayjs()), 'day');
|
return dayjs(this.dossier.dueDate).diff(dateWithoutTime(dayjs()), 'day');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,8 @@
|
|||||||
[class.error]="file.isError"
|
[class.error]="file.isError"
|
||||||
[class.initial-processing]="file.isInitialProcessing"
|
[class.initial-processing]="file.isInitialProcessing"
|
||||||
[matTooltip]="file.filename"
|
[matTooltip]="file.filename"
|
||||||
|
[iqserHelpMode]="'document_in_editor'"
|
||||||
|
[scrollableParentView]="scrollableParentView"
|
||||||
class="table-item-title"
|
class="table-item-title"
|
||||||
matTooltipPosition="above"
|
matTooltipPosition="above"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { ChangeDetectionStrategy, Component, Input, OnChanges } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, Input, OnChanges } from '@angular/core';
|
||||||
import { PrimaryFileAttributeService } from '@services/primary-file-attribute.service';
|
import { PrimaryFileAttributeService } from '@services/primary-file-attribute.service';
|
||||||
import { FileAttributes } from '@red/domain';
|
import { FileAttributes } from '@red/domain';
|
||||||
|
import { ScrollableParentView, ScrollableParentViews } from '@iqser/common-ui';
|
||||||
|
|
||||||
interface PartialFile {
|
interface PartialFile {
|
||||||
readonly isError: boolean;
|
readonly isError: boolean;
|
||||||
@ -29,4 +30,8 @@ export class FileNameColumnComponent implements OnChanges {
|
|||||||
ngOnChanges() {
|
ngOnChanges() {
|
||||||
this.primaryAttribute = this._primaryFileAttributeService.getPrimaryFileAttributeValue(this.file, this.dossierTemplateId);
|
this.primaryAttribute = this._primaryFileAttributeService.getPrimaryFileAttributeValue(this.file, this.dossierTemplateId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get scrollableParentView(): ScrollableParentView {
|
||||||
|
return ScrollableParentViews.VIRTUAL_SCROLL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -269,8 +269,8 @@
|
|||||||
"it": "",
|
"it": "",
|
||||||
"fr": ""
|
"fr": ""
|
||||||
},
|
},
|
||||||
"edit_dossier_dictionary": {
|
"edit_dossier_dossier_dictionary": {
|
||||||
"en": "/en/index-en.html?contextId=edit_dossier_dictionary",
|
"en": "/en/index-en.html?contextId=edit_dossier_dossier_dictionary",
|
||||||
"de": "",
|
"de": "",
|
||||||
"it": "",
|
"it": "",
|
||||||
"fr": ""
|
"fr": ""
|
||||||
@ -280,5 +280,23 @@
|
|||||||
"de": "",
|
"de": "",
|
||||||
"it": "",
|
"it": "",
|
||||||
"fr": ""
|
"fr": ""
|
||||||
|
},
|
||||||
|
"dossier": {
|
||||||
|
"en": "/en/index-en.html?contextId=dossier",
|
||||||
|
"de": "",
|
||||||
|
"it": "",
|
||||||
|
"fr": ""
|
||||||
|
},
|
||||||
|
"document_in_editor": {
|
||||||
|
"en": "/en/index-en.html?contextId=document_in_editor",
|
||||||
|
"de": "",
|
||||||
|
"it": "",
|
||||||
|
"fr": ""
|
||||||
|
},
|
||||||
|
"dossier_list": {
|
||||||
|
"en": "/en/index-en.html?contextId=dossier_list",
|
||||||
|
"de": "",
|
||||||
|
"it": "",
|
||||||
|
"fr": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit ef1c9be50404c918746b7520b5efb0c9a85ae349
|
Subproject commit ee7bba3d7286169deed0ba147d9db56fbcbe7bdb
|
||||||
Loading…
x
Reference in New Issue
Block a user