update tslint -> eslint
This commit is contained in:
@@ -1,18 +1,29 @@
|
||||
<app-card *ngIf="user$|async as user" heading="Hallo {{user.name}}">
|
||||
<app-card *ngIf="user$ | async as user" heading="Hallo {{ user.name }}">
|
||||
<p>
|
||||
<span *ngIf="getUserRoles(user.role).length===0" class="warn">Es wurden noch keine Berechtigungen zugeteilt, bitte wende Dich an den Administrator!</span>
|
||||
<span>{{transdormUserRoles(user.role)}}</span>
|
||||
<span *ngIf="getUserRoles(user.role).length === 0" class="warn"
|
||||
>Es wurden noch keine Berechtigungen zugeteilt, bitte wende Dich an den
|
||||
Administrator!</span
|
||||
>
|
||||
<span>{{ transdormUserRoles(user.role) }}</span>
|
||||
</p>
|
||||
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label>bevorzugte Anzeige der Akkorde</mat-label>
|
||||
<mat-select (ngModelChange)="onChordModeChanged(user.id, $event)" [ngModel]="user.chordMode">
|
||||
<mat-select
|
||||
(ngModelChange)="onChordModeChanged(user.id, $event)"
|
||||
[ngModel]="user.chordMode"
|
||||
>
|
||||
<mat-option [value]="null"></mat-option>
|
||||
<mat-option value="hide">nur den Liedtext anzeigen</mat-option>
|
||||
<mat-option value="onlyFirst">in Strophen die Akkorde nur für die erste anzeigen</mat-option>
|
||||
<mat-option value="onlyFirst"
|
||||
>in Strophen die Akkorde nur für die erste anzeigen
|
||||
</mat-option>
|
||||
<mat-option value="show">alle anzeigen</mat-option>
|
||||
</mat-select>
|
||||
<mat-hint>Das ist nur die Voreinstellung, die Anzeige kann für jedes Lied geändert werden.</mat-hint>
|
||||
<mat-hint
|
||||
>Das ist nur die Voreinstellung, die Anzeige kann für jedes Lied geändert
|
||||
werden.
|
||||
</mat-hint>
|
||||
</mat-form-field>
|
||||
|
||||
<app-button-row>
|
||||
@@ -20,5 +31,4 @@
|
||||
</app-button-row>
|
||||
</app-card>
|
||||
|
||||
|
||||
<app-users *appRole="['admin']"></app-users>
|
||||
|
||||
Reference in New Issue
Block a user