From a31b636bbb08f125ab8d11a047d767286ac07ba5 Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Thu, 3 Sep 2020 15:45:24 +0200 Subject: [PATCH] FEAT #13998 TIME 1 hide upload doc in registered mail indexation --- .../contact/list/import/contact-import.component.html | 2 +- src/frontend/app/indexation/indexation.component.html | 5 ++++- src/lang/lang-fr.json | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/frontend/app/administration/contact/list/import/contact-import.component.html b/src/frontend/app/administration/contact/list/import/contact-import.component.html index e225e162354..ca1f7d67fa0 100644 --- a/src/frontend/app/administration/contact/list/import/contact-import.component.html +++ b/src/frontend/app/administration/contact/list/import/contact-import.component.html @@ -1,5 +1,5 @@ <div class="mat-dialog-content-container"> - <h1 mat-dialog-title>{{'lang.contactsImport' | translate}}</h1> + <h1 mat-dialog-title>{{'lang.importContacts' | translate}}</h1> <div mat-dialog-content> <mat-toolbar class="import-tool" [class.hide]="csvData.length === 0 || loading"> <span style="flex:1;"> diff --git a/src/frontend/app/indexation/indexation.component.html b/src/frontend/app/indexation/indexation.component.html index 3f6ff6f2ac9..ef34fc637aa 100644 --- a/src/frontend/app/indexation/indexation.component.html +++ b/src/frontend/app/indexation/indexation.component.html @@ -67,9 +67,12 @@ </div> <div class="document-container" [class.fullContainer]="appService.getViewMode()"> <div class="content"> - <app-document-viewer #appDocumentViewer [editMode]="true" [tmpFilename]="tmpFilename" + <app-document-viewer *ngIf="this.currentIndexingModel.category !== 'registeredMail'" #appDocumentViewer [editMode]="true" [tmpFilename]="tmpFilename" (triggerEvent)="refreshDatas()" style="height:100%;width:100%;"> </app-document-viewer> + <div *ngIf="this.currentIndexingModel.category === 'registeredMail'" style="font-size: 120px;opacity: 0.4;"> + <i class="fas fa-dolly-flatbed"></i> + </div> </div> </div> </mat-sidenav-content> diff --git a/src/lang/lang-fr.json b/src/lang/lang-fr.json index 2884256d529..fb19fc4a0a6 100644 --- a/src/lang/lang-fr.json +++ b/src/lang/lang-fr.json @@ -1973,5 +1973,8 @@ "externalSignatoryBook": "Parapheur externe", "dispositListGeneratedMsg": "Le recommandé a été imprimé dans un <b>descriptif de pli</b>, vous ne pouvez pas modifier les données.", "arReceived": "AR réceptionné", - "arAlreadyReceived": "Cet AR a déjà été reçu" + "arAlreadyReceived": "Cet AR a déjà été reçu", + "contactsOfFile": "Contact du fichier", + "infoImportcontacts": "La colonne <b>id</b> est utilisée pour identifier un contact", + "importContacts": "Importer des contacts" } -- GitLab