RED-4155: Add "who has approved the file" information to file status

This commit is contained in:
Adina Țeudan 2022-06-14 21:44:17 +03:00
parent fc3d90a5ba
commit 55690fc5ce
3 changed files with 12 additions and 6 deletions

View File

@ -12,8 +12,13 @@
<ng-container *ngIf="permissionsService.isApprover(dossier) && !!file.lastReviewer">
<div class="vertical-line"></div>
<div class="all-caps-label mr-16 ml-8" translate="file-preview.last-reviewer"></div>
<redaction-initials-avatar [user]="file.lastReviewer" [withName]="true"></redaction-initials-avatar>
<div class="all-caps-label mr-16 ml-8">
{{ 'file-preview.last-assignee' | translate: { status: file.workflowStatus } }}
</div>
<redaction-initials-avatar
[user]="file.isApproved ? file.lastApprover : file.lastReviewer"
[withName]="true"
></redaction-initials-avatar>
</ng-container>
<div class="vertical-line"></div>

View File

@ -631,6 +631,7 @@
},
"download": "",
"error": {
"400": "",
"entries-too-short": "Einige Einträge im Wörterbuch unterschreiten die Mindestlänge von 2 Zeichen. Diese sind rot markiert.",
"generic": "Es ist ein Fehler aufgetreten ... Das Wörterbuch konnte nicht aktualisiert werden!"
},
@ -1305,7 +1306,7 @@
"convert": "",
"remove": ""
},
"last-reviewer": "Zuletzt überprüft von:",
"last-assignee": "Zuletzt überprüft von:",
"no-data": {
"title": "Auf dieser Seite gibt es keine Anmerkungen."
},

View File

@ -631,9 +631,9 @@
},
"download": "Download current entries",
"error": {
"400": "Cannot update dictionary because at least one of the newly added words where recognized as a general term that appear too often in texts.",
"entries-too-short": "Some entries of the dictionary are below the minimum length of 2. These are highlighted with red!",
"generic": "Something went wrong... Dictionary update failed!",
"400": "Cannot update dictionary because at least one of the newly added words where recognized as a general term that appear too often in texts."
"generic": "Something went wrong... Dictionary update failed!"
},
"revert-changes": "Revert",
"save-changes": "Save Changes",
@ -1306,7 +1306,7 @@
"convert": "Convert highlights",
"remove": "Remove highlights"
},
"last-reviewer": "Last Reviewed by:",
"last-assignee": "{status, select, APPROVED{Approved} UNDER_APPROVAL{Reviewed} other{Last reviewed}} by:",
"no-data": {
"title": "There have been no changes to this page."
},