Skip to content
Snippets Groups Projects
Commit 5a960f58 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #21740 TIME 0:10 wording + fix css

parent 53af98d2
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@
<button mat-icon-button [matMenuTriggerFor]="menuOptions">
<mat-icon class="fas fa-chevron-down"></mat-icon>
</button>
<div class="divider"></div>
<mat-menu #menuOptions="matMenu" [class]="'optionsListMenu'">
<button mat-menu-item *ngIf="file.contentView !== undefined || base64 !== null" (click)="openPdfInTab()">
<mat-icon color="primary" class="fas fa-external-link-alt"></mat-icon>
......@@ -103,13 +104,13 @@
<span>{{'lang.version' | translate}} {{version}}</span>
</button>
</mat-menu>
<button *ngIf="file.subinfos.signedDocVersions" mat-button
<button *ngIf="file.subinfos.signedDocVersions" mat-button class="originalVersion" [title]="'lang.unsignedVersionDesc' | translate"
(click)="openResourceVersion(file.subinfos.mainDocVersions[file.subinfos.mainDocVersions.length -1],'SIGN')">
{{'lang.SIGN_version' | translate}}
{{'lang.unsignedVersionDesc' | translate}}
</button>
<button *ngIf="file.subinfos.commentedDocVersions > 0" mat-button
<button *ngIf="file.subinfos.commentedDocVersions > 0" mat-button class="originalVersion" [title]="'lang.unannotatedVersionDesc' | translate"
(click)="openResourceVersion(file.subinfos.mainDocVersions[file.subinfos.mainDocVersions.length -1],'NOTE')">
{{'lang.NOTE_version' | translate}}
{{'lang.unannotatedVersionDesc' | translate}}
</button>
</ng-container>
</div>
......
......@@ -229,4 +229,8 @@
padding: 0.02em;
margin-top: 10px;
margin-bottom: 10px;
}
.originalVersion {
font-weight: bold;
}
\ No newline at end of file
......@@ -2659,5 +2659,7 @@
"nextRes": "Next mail",
"previousRes": "Previous mail",
"canGoToNextRes": "Move to next mail when action is complete",
"canGoToNextResDesc": "Activating this option saves this choice in your session"
"canGoToNextResDesc": "Activating this option saves this choice in your session",
"unsignedVersionDesc": "See the unsigned version",
"unannotatedVersionDesc": "See the unannotated version"
}
......@@ -2658,5 +2658,7 @@
"canGoToNextResDesc": "L'activation de cette option permet de sauvegarder ce choix dans votre session",
"processDelayEnabled": "Délai de traitement activé",
"processDelayDisabled": "Délai de traitement désactivé",
"disableProcessDelayDesc": "Ce type de document n'est plus pris en compte pour le calcul de la date limite de traitement"
"disableProcessDelayDesc": "Ce type de document n'est plus pris en compte pour le calcul de la date limite de traitement",
"unsignedVersionDesc": "Voir la version non signée",
"unannotatedVersionDesc": "Voir la version non annotée"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment