From 9324002074841eede5dbcc533e10e09612c2b7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Tue, 15 Jan 2019 12:54:16 +0100 Subject: [PATCH] Fix code --- .../content-groups.component.html | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/app/components/shared/content-groups/content-groups.component.html b/src/app/components/shared/content-groups/content-groups.component.html index 678068b53..5cfe7f843 100644 --- a/src/app/components/shared/content-groups/content-groups.component.html +++ b/src/app/components/shared/content-groups/content-groups.component.html @@ -1,12 +1,11 @@ - - <mat-card *ngFor="let contentGroup of contentGroups" (click)="viewContents(contentGroup)"> - <mat-divider></mat-divider> - <mat-card-header> - <mat-card-title> - <h4 *ngIf="!(contentGroup.name == 'Default')">{{contentGroup.name}}<mat-icon color="accent" - matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4> - <h4 *ngIf="contentGroup.name == 'Default'">{{'room-page.default-content-group' | translate}}<mat-icon color="accent" - matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4> - </mat-card-title> - </mat-card-header> - </mat-card> +<mat-card *ngFor="let contentGroup of contentGroups" (click)="viewContents(contentGroup)"> + <mat-divider></mat-divider> + <mat-card-header> + <mat-card-title> + <h4 *ngIf="!(contentGroup.name == 'Default')">{{contentGroup.name}}<mat-icon color="accent" + matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4> + <h4 *ngIf="contentGroup.name == 'Default'">{{'room-page.default-content-group' | translate}}<mat-icon color="accent" + matBadge="{{contentGroup.contentIds.length}}" matBadgePosition="after" matBadgeColor="accent"></mat-icon></h4> + </mat-card-title> + </mat-card-header> +</mat-card> -- GitLab