readonly while full processing
This commit is contained in:
parent
11955f9cd0
commit
e21041c037
@ -33,8 +33,9 @@
|
||||
|
||||
<div class="right-content">
|
||||
<div *ngIf="state.isReadonly$ | async" class="justify-center banner read-only d-flex">
|
||||
<div *ngIf="file.isOcrProcessing" class="ocr-indicator">
|
||||
OCR
|
||||
<div *ngIf="file.isFullProcessing" class="ocr-indicator">
|
||||
<span *ngIf="file.isOcrProcessing" class="read-only-text" [translate]="'processing.ocr'"></span>
|
||||
<span *ngIf="!file.isOcrProcessing" class="read-only-text" [translate]="'processing.basic'"></span>
|
||||
<mat-progress-bar class="white ml-8 w-100" mode="indeterminate"></mat-progress-bar>
|
||||
</div>
|
||||
|
||||
|
||||
@ -135,7 +135,7 @@ export class PermissionsService {
|
||||
canPerformAnnotationActions(file: File, dossier: Dossier): boolean {
|
||||
return (
|
||||
dossier.isActive &&
|
||||
!file.isOcrProcessing &&
|
||||
!file.isFullProcessing &&
|
||||
!file.excluded &&
|
||||
(file.isUnderReview || file.isUnderApproval) &&
|
||||
this.isFileAssignee(file)
|
||||
|
||||
@ -16,6 +16,7 @@ export const processingFileStatusTranslations: { [key in ProcessingFileStatus]:
|
||||
DELETED: _('file-status.deleted'),
|
||||
ERROR: _('file-status.error'),
|
||||
FULLREPROCESS: _('file-status.full-reprocess'),
|
||||
FULL_PROCESSING: _('file-status.full-processing'),
|
||||
IMAGE_ANALYZING: _('file-status.image-analyzing'),
|
||||
INDEXING: _('file-status.indexing'),
|
||||
OCR_PROCESSING: _('file-status.ocr-processing'),
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"ADMIN_CONTACT_NAME": null,
|
||||
"ADMIN_CONTACT_URL": null,
|
||||
"API_URL": "https://dev-08.iqser.cloud/redaction-gateway-v1",
|
||||
"API_URL": "https://dom1.iqser.cloud/redaction-gateway-v1",
|
||||
"APP_NAME": "RedactManager",
|
||||
"AUTO_READ_TIME": 3,
|
||||
"BACKEND_APP_VERSION": "4.4.40",
|
||||
@ -17,7 +17,7 @@
|
||||
"MAX_RETRIES_ON_SERVER_ERROR": 3,
|
||||
"OAUTH_CLIENT_ID": "redaction",
|
||||
"OAUTH_IDP_HINT": null,
|
||||
"OAUTH_URL": "https://dev-08.iqser.cloud/auth/realms/redaction",
|
||||
"OAUTH_URL": "https://dom1.iqser.cloud/auth/realms/redaction",
|
||||
"RECENT_PERIOD_IN_HOURS": 24,
|
||||
"SELECTION_MODE": "structural",
|
||||
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview"
|
||||
|
||||
@ -1289,12 +1289,17 @@
|
||||
"only-managers": "Enabling / disabling is permitted only for managers"
|
||||
}
|
||||
},
|
||||
"processing": {
|
||||
"ocr": "OCR",
|
||||
"basic": "Processing"
|
||||
},
|
||||
"file-status": {
|
||||
"analyse": "Analyzing",
|
||||
"approved": "Approved",
|
||||
"deleted": "Deleted",
|
||||
"error": "Re-processing required",
|
||||
"full-reprocess": "Processing",
|
||||
"full-processing": "Processing",
|
||||
"image-analyzing": "Image Analyzing",
|
||||
"indexing": "Processing",
|
||||
"initial-processing": "Initial processing...",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user