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,9 +3,9 @@
<h2>{{ 'Autopilot' | translate }}</h2>
</div>
</os-head-bar>
<!-- Title Card -->
<mat-card class="os-card">
<div class="content-container">
<!-- Title Card -->
<mat-card class="os-card">
<h1 class="line-and-icon">
{{ title }}
<a
@ -18,10 +18,13 @@
<mat-icon>open_in_new</mat-icon>
</a>
</h1>
</mat-card>
</mat-card>
<!-- List of speakers -->
<os-list-of-speakers-content [customTitle]="true" [speakers]="listOfSpeakers">
<!-- List of speakers -->
<os-list-of-speakers-content
[customTitle]="true" [speakers]="listOfSpeakers"
*osPerms="'agenda.can_see_list_of_speakers'"
>
<p class="subtitle-text line-and-icon">
<a [routerLink]="closUrl" [class.disabled]="!closUrl">
{{ 'List of speakers' | translate }}
@ -30,16 +33,17 @@
lock
</mat-icon>
</p>
</os-list-of-speakers-content>
</os-list-of-speakers-content>
<os-poll-collection [currentProjection]="projectedViewModel"></os-poll-collection>
<os-poll-collection [currentProjection]="projectedViewModel"></os-poll-collection>
<!-- Projector -->
<mat-card class="os-card spacer-bottom-60">
<!-- Projector -->
<mat-card class="os-card spacer-bottom-60">
<p class="subtitle-text">{{ projectorTitle | translate }}</p>
<a [routerLink]="projectorUrl" [target]="projectionTarget">
<div class="projector">
<os-projector *ngIf="projector" [projector]="projector"></os-projector>
</div>
</a>
</mat-card>
</mat-card>
</div>