diff --git a/lang/en.json b/lang/en.json index 458d09fe5ad9de97969a9552b9d0f69308e5fe4d..88d030106e69b7e89d6b93c1687498c9294446be 100755 --- a/lang/en.json +++ b/lang/en.json @@ -155,6 +155,7 @@ "noResult": "No result", "informations": "Informations", "circuit": "Circuit", - "actions": "Actions" + "actions": "Actions", + "addNote": "Add note" } } diff --git a/lang/fr.json b/lang/fr.json index 120818951580887da48025a631f639bd01182d70..1ba089d5206d01d01b35418c1b79854ab01a8875 100755 --- a/lang/fr.json +++ b/lang/fr.json @@ -155,6 +155,7 @@ "noResult": "Aucun résultat", "informations": "Informations", "circuit": "Circuit", - "actions": "Actions" + "actions": "Actions", + "addNote": "Ajouter un commentaire" } } diff --git a/src/frontend/app/modal/warn-modal.component.html b/src/frontend/app/modal/warn-modal.component.html index 56ac8743bcb6ca01338ae5bcac4bbf6ccc710dc5..676214b5e56897eab304ef69caafa60975b37345 100755 --- a/src/frontend/app/modal/warn-modal.component.html +++ b/src/frontend/app/modal/warn-modal.component.html @@ -1,17 +1,15 @@ <div class="modalContent"> <h1 mat-dialog-title><i class="fa fa-exclamation-triangle fa-2x"></i><br/>{{'lang.warning' | translate}} !</h1> <div mat-dialog-content> - <!--<p *ngIf="signaturesService.notesContent.length == 0 && signaturesService.signaturesContent.length == 0">{{'lang.refuseDocumentWithoutSignature' | translate}}</p>--> <p>{{'lang.wouldLikeConfirm' | translate}}</p> <p> - <textarea [(ngModel)]="note" class="note" matInput placeholder="Ajouter un commentaire"></textarea> + <textarea [(ngModel)]="note" class="note" matInput placeholder="{{'lang.addNote' | translate}}"></textarea> </p> </div> <div mat-dialog-actions> <button mat-icon-button class="close" (click)="this.dialogRef.close();"> <mat-icon fontSet="fas" fontIcon="fa-times"></mat-icon> </button> - <!--<button class="actions btn" [disabled]="disableState" mat-button (click)="this.dialogRef.close('annotation');" *ngIf="signaturesService.notesContent.length == 0"><i class="fas fa-pen-alt fa-2x"></i> {{'lang.annotateDocument' | translate}}</button>--> <button class="actions btn red" mat-button cdkFocusInitial (click)="confirmDoc();" [disabled]="disableState"><i class="fas fa-backspace fa-2x"></i> {{ msgButton | translate}}</button> </div> </div>