Skip to content
Snippets Groups Projects
Commit 79d93e36 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11691 TIME 0:20 fix version attach (no list)

parent 1d2966be
No related branches found
No related tags found
No related merge requests found
......@@ -27,13 +27,8 @@
[disabled]="!attachment.canDelete">{{lang.deleteResource}}</button>
</div>
<div class="pjToolsContent">
<button *ngIf="attachment.relation > 1" color="primary" class="versionButton" mat-button
[matMenuTriggerFor]="menu">{{lang.version}} <b
color="secondary">{{attachment.relation}}</b></button>
<mat-menu #menu="matMenu">
<button mat-menu-item *ngFor="let version of attachment.versions; let i = index"
(click)="showAttachment(version)">{{lang.version}} {{i+1}}</button>
</mat-menu>
<span *ngIf="attachment.relation > 1" color="primary" class="versionButton">{{lang.version}} <b
color="secondary">{{attachment.relation}}</b></span>
<button color="primary" class="actionsButton" mat-icon-button [matMenuTriggerFor]="menuPjAction">
<mat-icon fontSet="fas" fontIcon="fa-ellipsis-v"></mat-icon>
</button>
......
......@@ -123,6 +123,8 @@
.downloadButton,
.actionsButton,
.versionButton {
padding-left: 10px;
padding-right: 10px;
font-size: 10px;
}
......
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