MOBILE-3313 settings: Fixes on device info
parent
4f25af2618
commit
e51d23f24c
|
@ -80,7 +80,7 @@
|
|||
"multisitesdisplay": "",
|
||||
"skipssoconfirmation": false,
|
||||
"forcedefaultlanguage": false,
|
||||
"privacypolicy": "https:\/\/moodle.org\/mod\/page\/view.php?id=8148",
|
||||
"privacypolicy": "https:\/\/moodle.net\/moodle-app-privacy\/",
|
||||
"notificoncolor": "#f98012",
|
||||
"statusbarbg": false,
|
||||
"statusbarlighttext": false,
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
</a>
|
||||
<a ion-item (click)="openPage('CoreSettingsDeviceInfoPage')" [title]="'core.settings.deviceinfo' | translate">
|
||||
<ion-icon name="phone-portrait" item-start></ion-icon>
|
||||
<p>{{ 'core.settings.deviceinfo' | translate }}</p>
|
||||
{{ 'core.settings.deviceinfo' | translate }}
|
||||
</a>
|
||||
</ion-content>
|
||||
|
|
|
@ -49,9 +49,9 @@
|
|||
<h2>{{ 'core.settings.displayformat' | translate}}</h2>
|
||||
<p>{{ 'core.' + deviceInfo.deviceType | translate }}</p>
|
||||
</ion-item>
|
||||
<ion-item text-wrap *ngIf="deviceInfo.deviceOs" (longPress)="copyItemInfo($event)">
|
||||
<ion-item text-wrap *ngIf="deviceInfo.deviceOs && deviceOsTranslated" (longPress)="copyItemInfo($event)">
|
||||
<h2>{{ 'core.settings.deviceos' | translate}}</h2>
|
||||
<p>{{ deviceInfo.deviceOsTranslated }}</p>
|
||||
<p>{{ deviceOsTranslated }}</p>
|
||||
</ion-item>
|
||||
<ion-item text-wrap *ngIf="deviceInfo.screen" (longPress)="copyItemInfo($event)">
|
||||
<h2>{{ 'core.settings.screen' | translate}}</h2>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<p>{{ 'core.settings.license' | translate }}{{ 'core.labelsep' | translate }} {{ license.licenses }}</p>
|
||||
<p><a *ngIf="license.url" [href]="license.url" core-link auto-login="no">{{ license.url }}</a></p>
|
||||
<p><a *ngIf="license.email" [href]="'mailto:' +license.email" core-link auto-login="no">{{ license.email }}</a></p>
|
||||
<a *ngIf="license.licenseUrl" [href]="license.licenseUrl" target="_blank" ion-button ion-button clear item-end>{{ 'core.view' | translate }}</a>
|
||||
<a *ngIf="license.licenseUrl" [href]="license.licenseUrl" target="_blank" ion-button ion-button clear item-end core-link auto-login="no">{{ 'core.view' | translate }}</a>
|
||||
</ion-item>
|
||||
</ng-container>
|
||||
</core-loading>
|
||||
|
|
Loading…
Reference in New Issue