1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Printing photo count to directories #376

This commit is contained in:
Patrik J. Braun 2023-08-25 20:51:03 +02:00
parent e6615e3bd4
commit 231ed38a2a

View File

@ -11,11 +11,13 @@
*ngIf="thumbnail && thumbnail.Available"
[style.background-image]="getSanitizedThUrl()"></div>
<app-icon *ngIf="!thumbnail || !thumbnail.Available" class="no-image"></app-icon>
<app-icon *ngIf="!thumbnail || !thumbnail.Available" class="no-image"></app-icon>
</div>
<!--Info box -->
<div class="info rounded-bottom">
<div class="directory-name">{{directory.name}}</div>
<div class="directory-name">{{directory.name}}
<ng-container *ngIf="directory.lastScanned>0 && directory.mediaCount > 0">({{directory.mediaCount}})</ng-container>
</div>
</div>
</a>