mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-03-15 19:22:27 +00:00
feat: separate prettier from eslint
This commit is contained in:
committed by
Thea Schöbl
parent
939fb6ef0f
commit
a88d000ccd
@@ -25,17 +25,11 @@
|
||||
>
|
||||
<ion-card-subtitle>
|
||||
{{ vals.name }}
|
||||
<ion-icon
|
||||
*ngIf="compactView"
|
||||
name="info"
|
||||
(click)="presentAlert(vals.name, vals.desc)"
|
||||
></ion-icon>
|
||||
<ion-icon *ngIf="compactView" name="info" (click)="presentAlert(vals.name, vals.desc)"></ion-icon>
|
||||
</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
<ion-card-content>
|
||||
<ion-note *ngIf="!compactView">{{
|
||||
'description' | thingTranslate: setting | titlecase
|
||||
}}</ion-note>
|
||||
<ion-note *ngIf="!compactView">{{ 'description' | thingTranslate: setting | titlecase }}</ion-note>
|
||||
|
||||
<div [ngSwitch]="setting.inputType" *ngIf="isVisible">
|
||||
<ion-item *ngSwitchCase="'number'">
|
||||
@@ -83,10 +77,7 @@
|
||||
[(ngModel)]="setting.value"
|
||||
(ionChange)="settingChanged()"
|
||||
>
|
||||
<ion-select-option
|
||||
*ngFor="let val of setting.values; index as i"
|
||||
[value]="val"
|
||||
>
|
||||
<ion-select-option *ngFor="let val of setting.values; index as i" [value]="val">
|
||||
<div *ngIf="typeOf(val) !== 'number'">
|
||||
{{ ('values' | thingTranslate: setting)[i] | titlecase }}
|
||||
</div>
|
||||
@@ -97,15 +88,8 @@
|
||||
|
||||
<ion-item *ngSwitchCase="'multiple choice'">
|
||||
<ion-label></ion-label>
|
||||
<ion-select
|
||||
[(ngModel)]="setting.value"
|
||||
multiple="true"
|
||||
(ionChange)="settingChanged()"
|
||||
>
|
||||
<ion-select-option
|
||||
*ngFor="let val of setting.values; index as i"
|
||||
[value]="val"
|
||||
>
|
||||
<ion-select [(ngModel)]="setting.value" multiple="true" (ionChange)="settingChanged()">
|
||||
<ion-select-option *ngFor="let val of setting.values; index as i" [value]="val">
|
||||
<div *ngIf="typeOf(val) !== 'number'">
|
||||
{{ ('values' | thingTranslate: setting)[i] | titlecase }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user