<ion-header>
    <ion-toolbar>
        <ion-buttons slot="start">
            <ion-back-button [text]="'core.back' | translate"></ion-back-button>
        </ion-buttons>
        <ion-title>
            {{ 'core.settings.about' | translate}}
        </ion-title>
    </ion-toolbar>
</ion-header>

<ion-content>
    <ion-item class="ion-text-wrap">
        <ion-label><h2>{{ appName }} {{ versionName }}</h2></ion-label>
    </ion-item>
    <ion-item button class="ion-text-wrap" (click)="openPage('licenses')" detail="true">
        <ion-icon name="far-copyright" slot="start" aria-hidden="true"></ion-icon>
        <ion-label>{{ 'core.settings.opensourcelicenses' | translate }}</ion-label>
    </ion-item>
    <ion-item button class="ion-text-wrap" *ngIf="privacyPolicy" [href]="privacyPolicy" core-link auto-login="no" detail="true">
        <ion-icon name="fas-user-shield" slot="start" aria-hidden="true"></ion-icon>
        <ion-label>{{ 'core.settings.privacypolicy' | translate }}</ion-label>
    </ion-item>
    <ion-item button class="ion-text-wrap" (click)="openPage('deviceinfo')" detail="true">
        <ion-icon name="fas-mobile" slot="start" aria-hidden="true"></ion-icon>
        <ion-label>{{ 'core.settings.deviceinfo' | translate }}</ion-label>
    </ion-item>
</ion-content>
