diff --git a/src/frontend/plugins/office365-sharepoint/office365-sharepoint-viewer.component.html b/src/frontend/plugins/office365-sharepoint/office365-sharepoint-viewer.component.html index af6f04fc74109a1c2e6cf4fd52e81a29263a2636..b6f5fb589338dae0464955e57254ff1274f04f10 100644 --- a/src/frontend/plugins/office365-sharepoint/office365-sharepoint-viewer.component.html +++ b/src/frontend/plugins/office365-sharepoint/office365-sharepoint-viewer.component.html @@ -4,6 +4,10 @@ <div> {{'lang.editInProgress' | translate}} </div> + <div *ngIf="documentWebUrl !== null" style="font-weight: bold;"> + <i class="fas fa-exclamation-circle" style="font-size: 20px;"></i> {{'lang.sharePointWarning' | translate}} + </div> + </div> <div style="display: flex; justify-content: center"> <button mat-button (click)="openDocument()" class="button-form-primary-alt" [disabled]="documentWebUrl === null"> diff --git a/src/lang/lang-en.json b/src/lang/lang-en.json index 188a29d575b32ceab1a06082dee74949a06cd519..de84f42b7eab06b8840dc320b7b61bc09f74e844 100644 --- a/src/lang/lang-en.json +++ b/src/lang/lang-en.json @@ -2544,5 +2544,6 @@ "switchSae": "Configure Maarch RM", "configSaeInfo": "For more information on setting up an electronic filing system.Consult the documentation : <a href=\"{{url}}\" target=\"_blank\" class=\"link\"> Configure an SAE < / a>", "delegatedOpinion": "Opinion given instead of", - "requestedOpinion": "Opinion requested instead of" + "requestedOpinion": "Opinion requested instead of", + "sharePointWarning": "Close the document editor before validating the edit" } diff --git a/src/lang/lang-fr.json b/src/lang/lang-fr.json index f20430fa7b5ef596ff722fb9738ef0b662dc7db0..59d58e6d9c7a67b44fe75609a82813837c537fce 100644 --- a/src/lang/lang-fr.json +++ b/src/lang/lang-fr.json @@ -2542,5 +2542,6 @@ "switchSae": "Configurer Maarch RM", "configSaeInfo": "Pour plus d'informations sur la configuration d'un système d'archivage électronique. Consulter la documentation : <a href=\"{{url}}\" target=\"_blank\" class=\"link\">Configurer un SAE</a>", "delegatedOpinion": "Avis donné à la place de", - "requestedOpinion": "Avis demandé à la place de" + "requestedOpinion": "Avis demandé à la place de", + "sharePointWarning": "Fermez l'éditeur du document avant de valider l'édition" }