mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-buttons slot="start">
|
|
<ion-back-button></ion-back-button>
|
|
<ion-menu-button></ion-menu-button>
|
|
</ion-buttons>
|
|
<ion-title>{{'settings.title' | translate}}</ion-title>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content>
|
|
<ion-list *ngFor="let categoryKey of categoriesOrder ">
|
|
<div *ngIf="objectKeys(settingsCache).includes(categoryKey)">
|
|
<ion-item-divider>
|
|
<h5>{{ settingsCache[categoryKey].settings[objectKeys(settingsCache[categoryKey].settings)[0]].translations[language].categories[0]}}
|
|
</h5>
|
|
</ion-item-divider>
|
|
<stapps-settings-item *ngFor="let settingKeys of objectKeys(settingsCache[categoryKey].settings)" [setting]="settingsCache[categoryKey].settings[settingKeys]"></stapps-settings-item>
|
|
</div>
|
|
</ion-list>
|
|
<ion-button color="medium" expand="block" fill="outline" (click)="presentResetAlert()">
|
|
{{'settings.resetSettings' | translate}}
|
|
<ion-icon slot="start" name="undo"></ion-icon>
|
|
</ion-button>
|
|
</ion-content>
|