Skip to content
Snippets Groups Projects
Commit 7833ae42 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12091 TIME 0:10 display badge folder in folder list

parent ec60db03
No related branches found
No related tags found
No related merge requests found
...@@ -575,6 +575,7 @@ class FolderController ...@@ -575,6 +575,7 @@ class FolderController
'attachments' => $attachments, 'attachments' => $attachments,
'checkLocked' => false, 'checkLocked' => false,
'trackedMails' => $followedResources, 'trackedMails' => $followedResources,
'listDisplay' => ['folders']
]); ]);
} }
......
...@@ -168,6 +168,9 @@ ...@@ -168,6 +168,9 @@
</button> </button>
</span> </span>
</div> </div>
<div *ngIf="row.folders !== undefined && row.folders.length > 0" class="folder-info">
<span class="badge badge-folder" *ngFor="let folder of row.folders | sortBy : 'label'" routerLink="/folders/{{folder.id}}" title="{{lang.goToFolder}} : {{folder.label}}"><i class="fa fa-folder"></i> {{folder.label}}</span>
</div>
</td> </td>
</ng-container> </ng-container>
<tr mat-row *matRowDef="let row; columns: displayedColumnsBasket;" <tr mat-row *matRowDef="let row; columns: displayedColumnsBasket;"
......
...@@ -93,3 +93,17 @@ ...@@ -93,3 +93,17 @@
.followIcon { .followIcon {
color: $secondary; color: $secondary;
} }
.folder-info {
padding-left: 20px;
padding-right: 20px;
}
.badge-folder {
cursor: pointer;
background: $secondary;
margin: 5px;
font-size: 12px;
border-radius: 3px;
opacity: 0.8;
}
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