Need perm to show list of speakers. Use content-container.

Fix link.
This commit is contained in:
Jochen Winzer 2020-11-04 10:04:02 +01:00
parent 866acfe7f5
commit 837af97d57

View File

@ -3,7 +3,7 @@
<h2>{{ 'Autopilot' | translate }}</h2> <h2>{{ 'Autopilot' | translate }}</h2>
</div> </div>
</os-head-bar> </os-head-bar>
<div class="content-container">
<!-- Title Card --> <!-- Title Card -->
<mat-card class="os-card"> <mat-card class="os-card">
<h1 class="line-and-icon"> <h1 class="line-and-icon">
@ -21,7 +21,10 @@
</mat-card> </mat-card>
<!-- List of speakers --> <!-- List of speakers -->
<os-list-of-speakers-content [customTitle]="true" [speakers]="listOfSpeakers"> <os-list-of-speakers-content
[customTitle]="true" [speakers]="listOfSpeakers"
*osPerms="'agenda.can_see_list_of_speakers'"
>
<p class="subtitle-text line-and-icon"> <p class="subtitle-text line-and-icon">
<a [routerLink]="closUrl" [class.disabled]="!closUrl"> <a [routerLink]="closUrl" [class.disabled]="!closUrl">
{{ 'List of speakers' | translate }} {{ 'List of speakers' | translate }}
@ -43,3 +46,4 @@
</div> </div>
</a> </a>
</mat-card> </mat-card>
</div>