From 955a5fb54bc4863e7f0451281f2dd9c753ded00a Mon Sep 17 00:00:00 2001 From: paf <paf@titelfrei.de> Date: Tue, 26 Jan 2021 08:33:58 +0100 Subject: [PATCH] show that workspace ist valid if so --- src/app/workspace-admin/files/files.component.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/workspace-admin/files/files.component.html b/src/app/workspace-admin/files/files.component.html index bc7d1925..4f69deb9 100644 --- a/src/app/workspace-admin/files/files.component.html +++ b/src/app/workspace-admin/files/files.component.html @@ -113,9 +113,10 @@ {{fileStats.total.invalid == 1 ? 'hat' : 'haben'}} fehlende Abhängigkeiten und {{fileStats.total.invalid == 1 ? 'wird' : 'werden'}} ignoriert!"> </alert> - <ng-container #workspaceValid> - <alert level="success" text="Workspace ist Valide"></alert> - </ng-container> + <ng-template #workspaceValid> + <alert level="success" *ngIf="fileStats.total.count" text="Alle + {{fileStats.total.count > 1 ? fileStats.total.count : ''}} Dateien im Workspace sind Valide."></alert> + </ng-template> </div> </div> -- GitLab