handling for invalid digital signature
This commit is contained in:
parent
6f18a275ad
commit
afa6d00a4b
@ -14,16 +14,7 @@
|
|||||||
[routerLinkActiveOptions]="{ exact: true }"
|
[routerLinkActiveOptions]="{ exact: true }"
|
||||||
routerLinkActive="active"
|
routerLinkActive="active"
|
||||||
translate="digital-signature"
|
translate="digital-signature"
|
||||||
*ngIf="root"
|
*ngIf="root && permissionService.isAdmin()"
|
||||||
></a>
|
|
||||||
|
|
||||||
<a
|
|
||||||
class="breadcrumb"
|
|
||||||
[routerLink]="'/ui/admin/users'"
|
|
||||||
[routerLinkActiveOptions]="{ exact: true }"
|
|
||||||
routerLinkActive="active"
|
|
||||||
translate="user-management"
|
|
||||||
*ngIf="root && userPreferenceService.areDevFeaturesEnabled"
|
|
||||||
></a>
|
></a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
@ -32,6 +23,15 @@
|
|||||||
[routerLinkActiveOptions]="{ exact: true }"
|
[routerLinkActiveOptions]="{ exact: true }"
|
||||||
routerLinkActive="active"
|
routerLinkActive="active"
|
||||||
translate="license-information"
|
translate="license-information"
|
||||||
|
*ngIf="root && permissionService.isAdmin()"
|
||||||
|
></a>
|
||||||
|
|
||||||
|
<a
|
||||||
|
class="breadcrumb"
|
||||||
|
[routerLink]="'/ui/admin/users'"
|
||||||
|
[routerLinkActiveOptions]="{ exact: true }"
|
||||||
|
routerLinkActive="active"
|
||||||
|
translate="user-management"
|
||||||
*ngIf="root && userPreferenceService.areDevFeaturesEnabled"
|
*ngIf="root && userPreferenceService.areDevFeaturesEnabled"
|
||||||
></a>
|
></a>
|
||||||
|
|
||||||
|
|||||||
@ -44,13 +44,21 @@ export class DigitalSignatureScreenComponent {
|
|||||||
NotificationType.SUCCESS
|
NotificationType.SUCCESS
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
() => {
|
(error) => {
|
||||||
|
if (error.status === 400) {
|
||||||
|
this._notificationService.showToastNotification(
|
||||||
|
this._translateService.instant('digital-signature-screen.action.certificate-not-valid-error'),
|
||||||
|
null,
|
||||||
|
NotificationType.ERROR
|
||||||
|
);
|
||||||
|
} else {
|
||||||
this._notificationService.showToastNotification(
|
this._notificationService.showToastNotification(
|
||||||
this._translateService.instant('digital-signature-screen.action.save-error'),
|
this._translateService.instant('digital-signature-screen.action.save-error'),
|
||||||
null,
|
null,
|
||||||
NotificationType.ERROR
|
NotificationType.ERROR
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -821,6 +821,7 @@
|
|||||||
"reset": "Zurücksetzen",
|
"reset": "Zurücksetzen",
|
||||||
"save-success": "Digitale Signatur erfolgreich gespeichert",
|
"save-success": "Digitale Signatur erfolgreich gespeichert",
|
||||||
"save-error": "Fehler beim Speichern der digitalen Signatur",
|
"save-error": "Fehler beim Speichern der digitalen Signatur",
|
||||||
|
"certificate-not-valid-error": "Das hochgeladene Zertifikat gilt nicht zum Signieren von PDFs. Das PCKS.12-Format ist erforderlich.",
|
||||||
"delete-success": "Digitale Signatur entfernt. Redigierte Dateien werden nicht mehr signiert!",
|
"delete-success": "Digitale Signatur entfernt. Redigierte Dateien werden nicht mehr signiert!",
|
||||||
"delete-error": "Fehler beim Entfernen der digitalen Signatur. Versuchen Sie es erneut."
|
"delete-error": "Fehler beim Entfernen der digitalen Signatur. Versuchen Sie es erneut."
|
||||||
}
|
}
|
||||||
|
|||||||
@ -821,6 +821,7 @@
|
|||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"save-success": "Digital signature saved successfully",
|
"save-success": "Digital signature saved successfully",
|
||||||
"save-error": "Failed to save digital signature",
|
"save-error": "Failed to save digital signature",
|
||||||
|
"certificate-not-valid-error": "Uploaded Certificate is not valid for signing PDFs. PCKS.12 format is required.",
|
||||||
"delete-success": "Digital signature removed. Redacted files will no longer be signed!",
|
"delete-success": "Digital signature removed. Redacted files will no longer be signed!",
|
||||||
"delete-error": "Failed to remove digital signature, please try again."
|
"delete-error": "Failed to remove digital signature, please try again."
|
||||||
}
|
}
|
||||||
|
|||||||
@ -592,3 +592,6 @@ The use of this product is subject to the terms of the Redaction End User Agreem
|
|||||||
Digital signature removed. Redacted files will no longer be signed!|Digitale Signatur entfernt. Redigierte Dateien werden nicht mehr signiert!
|
Digital signature removed. Redacted files will no longer be signed!|Digitale Signatur entfernt. Redigierte Dateien werden nicht mehr signiert!
|
||||||
No members yet.
|
No members yet.
|
||||||
Select from the list below.|Noch keine Mitglieder. Wählen Sie aus der folgenden Liste.
|
Select from the list below.|Noch keine Mitglieder. Wählen Sie aus der folgenden Liste.
|
||||||
|
No members yet.
|
||||||
|
Select from the list below.|Noch keine Mitglieder. Wählen Sie aus der folgenden Liste.
|
||||||
|
Uploaded Certificate is not valid for signing PDFs. PCKS.12 format is required.|Das hochgeladene Zertifikat gilt nicht zum Signieren von PDFs. Das PCKS.12-Format ist erforderlich.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user