cosmetic fixes

This commit is contained in:
Timo 2021-03-01 16:52:55 +02:00
parent 5c0f0d97d1
commit 428cf863ef
3 changed files with 12 additions and 1 deletions

View File

@ -24,6 +24,7 @@
*ngFor="let ruleSet of ruleSets"
[value]="ruleSet.ruleSetId"
[matTooltip]="ruleSet.description ? ruleSet.description : ruleSet.name"
matTooltipPosition="after"
>
{{ ruleSet.name }}
</mat-option>

View File

@ -246,7 +246,13 @@ export class DialogService {
}
public openAssignFileToMeDialog(file: FileStatus, cb?: Function) {
const ref = this._dialog.open(ConfirmationDialogComponent, dialogConfig);
const ref = this._dialog.open(ConfirmationDialogComponent, {
...dialogConfig,
data: new ConfirmationDialogInput({
title: 'confirmation-dialog.assign-file-to-me.title',
question: 'confirmation-dialog.assign-file-to-me.question'
})
});
ref.afterClosed().subscribe((result) => {
if (result && cb) cb(result);
});

View File

@ -566,6 +566,10 @@
"deny": "Cancel"
},
"confirmation-dialog": {
"assign-file-to-me": {
"title": "Re-assign reviewer",
"question": "This document is currently reviewed by someone else. Do you want to become the reviewer and assign yourself to this document?"
},
"delete-file": {
"title": "Delete Document",
"question": "Do you wish to proceed?"