Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchParapheur
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchParapheur
Commits
8222ec47
Commit
8222ec47
authored
4 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
FIX #14568 TIME 0:10 add var lang
parent
779bcd88
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lang/fr.json
+4
-1
4 additions, 1 deletion
lang/fr.json
src/frontend/app/indexation/indexation.component.ts
+5
-5
5 additions, 5 deletions
src/frontend/app/indexation/indexation.component.ts
src/frontend/app/search/search.component.ts
+1
-2
1 addition, 2 deletions
src/frontend/app/search/search.component.ts
with
10 additions
and
8 deletions
lang/fr.json
+
4
−
1
View file @
8222ec47
...
...
@@ -367,6 +367,9 @@
"accessToPage"
:
"Accéder à la page"
,
"createSignaturePosition"
:
"Positionner la signature"
,
"prePositionings"
:
"pré-positionnement(s)"
,
"back"
:
"Retour"
"back"
:
"Retour"
,
"documentsImported"
:
"Document(s) importé(s)"
,
"onlyPdfAuthorized"
:
"Seul des fichiers pdf sont autorisés"
,
"mustSetWorkflowBeforeSignPositions"
:
"Veuillez paramétrer votre circuit avant de pouvoir positionner les signatures."
}
}
This diff is collapsed.
Click to expand it.
src/frontend/app/indexation/indexation.component.ts
+
5
−
5
View file @
8222ec47
import
{
DatePipe
}
from
'
@angular/common
'
;
import
{
HttpClient
}
from
'
@angular/common/http
'
;
import
{
Component
,
OnInit
,
TemplateRef
,
ViewChild
,
ViewContainerRef
}
from
'
@angular/core
'
;
import
{
Route
,
Router
}
from
'
@angular/router
'
;
import
{
Router
}
from
'
@angular/router
'
;
import
{
AlertController
,
LoadingController
,
MenuController
,
ModalController
}
from
'
@ionic/angular
'
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
of
}
from
'
rxjs
'
;
...
...
@@ -160,7 +160,7 @@ export class IndexationComponent implements OnInit {
text
:
this
.
translate
.
instant
(
'
lang.validate
'
),
handler
:
(
data
:
any
)
=>
{
this
.
loadingController
.
create
({
message
:
'
Enregistrement ...
'
,
message
:
this
.
translate
.
instant
(
'
lang.processing
'
)
,
spinner
:
'
dots
'
}).
then
(
async
(
load
:
HTMLIonLoadingElement
)
=>
{
load
.
present
();
...
...
@@ -170,7 +170,7 @@ export class IndexationComponent implements OnInit {
}
load
.
dismiss
();
if
(
this
.
errors
.
length
===
0
)
{
this
.
notificationService
.
success
(
'
D
ocument
(s) i
mport
é(s)
'
);
this
.
notificationService
.
success
(
'
lang.d
ocument
sI
mport
ed
'
);
this
.
router
.
navigate
([
'
/home
'
]);
}
});
...
...
@@ -295,7 +295,7 @@ export class IndexationComponent implements OnInit {
isExtensionAllowed
(
files
:
any
[])
{
for
(
let
index
=
0
;
index
<
files
.
length
;
index
++
)
{
if
(
files
[
index
].
name
.
toLowerCase
().
split
(
'
.
'
).
pop
()
!==
'
pdf
'
)
{
this
.
notificationService
.
error
(
'
Seul des fichiers pdf sont a
utori
sés
'
);
this
.
notificationService
.
error
(
'
lang.onlyPdfA
ut
h
ori
zed
'
);
return
false
;
}
}
...
...
@@ -338,7 +338,7 @@ export class IndexationComponent implements OnInit {
this
.
filesToUpload
[
index
].
signPos
=
data
;
}
}
else
{
this
.
notificationService
.
error
(
'
Veuillez paramétrer votre circuit avant de pouvoir positionner les signatures.
'
);
this
.
notificationService
.
error
(
'
lang.mustSetWorkflowBeforeSignPositions
'
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/frontend/app/search/search.component.ts
+
1
−
2
View file @
8222ec47
import
{
DatePipe
}
from
'
@angular/common
'
;
import
{
HttpClient
}
from
'
@angular/common/http
'
;
import
{
isNgTemplate
}
from
'
@angular/compiler
'
;
import
{
Component
,
OnInit
,
TemplateRef
,
ViewChild
,
ViewContainerRef
}
from
'
@angular/core
'
;
import
{
Router
}
from
'
@angular/router
'
;
import
{
ActionSheetController
,
AlertController
,
LoadingController
,
MenuController
}
from
'
@ionic/angular
'
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
of
}
from
'
rxjs
'
;
import
{
catchError
,
exhaustMap
,
finalize
,
tap
}
from
'
rxjs/operators
'
;
import
{
catchError
,
exhaustMap
,
tap
}
from
'
rxjs/operators
'
;
import
{
VisaWorkflowComponent
}
from
'
../document/visa-workflow/visa-workflow.component
'
;
import
{
AuthService
}
from
'
../service/auth.service
'
;
import
{
NotificationService
}
from
'
../service/notification.service
'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment