Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
2ab6303f
Commit
2ab6303f
authored
Jun 03, 2021
by
Florian Azizian
Browse files
FIX #17118 TIME 0:45 can not edit main document that is currently in an external signatory book
parent
7c22fc34
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/frontend/app/viewer/document-viewer.component.ts
View file @
2ab6303f
...
...
@@ -833,7 +833,9 @@ export class DocumentViewerComponent implements OnInit, OnDestroy {
}
editResource
()
{
if
(
this
.
editor
.
mode
===
'
java
'
&&
this
.
file
.
format
.
toLowerCase
()
===
'
pdf
'
)
{
if
(
!
this
.
functions
.
empty
(
this
.
externalId
.
signatureBookId
))
{
this
.
notify
.
error
(
this
.
translate
.
instant
(
'
lang.sendInExternalSignatoryBook
'
));
}
else
if
(
this
.
editor
.
mode
===
'
java
'
&&
this
.
file
.
format
.
toLowerCase
()
===
'
pdf
'
)
{
this
.
notify
.
error
(
this
.
translate
.
instant
(
'
lang.javaEditDenied
'
)
+
'
<b>PDF</b>
'
+
this
.
translate
.
instant
(
'
lang.javaEditDenied2
'
));
}
else
{
if
(
this
.
mode
===
'
attachment
'
)
{
...
...
src/lang/lang-en.json
View file @
2ab6303f
...
...
@@ -2259,6 +2259,7 @@
"addTile"
:
"Add a tile"
,
"tileType"
:
"Tile type"
,
"dashboardEmpty"
:
"Your dashboard is empty"
,
"sendInExternalSignatoryBook"
:
"This document is currently in an external signatory book"
,
"navigation"
:
"Navigation"
,
"acountNotLinkedTomaarchParapheur"
:
"Your account is not linked to Maarch Parapheur"
,
"error"
:
"Eroor"
,
...
...
src/lang/lang-fr.json
View file @
2ab6303f
...
...
@@ -2254,6 +2254,7 @@
"addTile"
:
"Ajouter une tuile"
,
"tileType"
:
"Type de tuile"
,
"dashboardEmpty"
:
"Votre tableau de bord est vide"
,
"sendInExternalSignatoryBook"
:
"Ce document est en cours de traitement dans un parapheur externe"
,
"refStatus"
:
"Ce document a été refusé dans le parapheur externe"
,
"valStatus"
:
"Ce document a été validé dans le parapheur externe"
,
"stopStatus"
:
"Ce document a été interrompu dans la parapheur externe"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment