MOBILE-4384 about: Add legal disclaimer in settings
parent
35dc09f93e
commit
8d290ff7d1
|
@ -2365,6 +2365,7 @@
|
|||
"core.settings.ioscookies": "local_moodlemobileapp",
|
||||
"core.settings.ioscookiesdescription": "local_moodlemobileapp",
|
||||
"core.settings.language": "moodle",
|
||||
"core.settings.legaldisclaimer": "local_moodlemobileapp",
|
||||
"core.settings.license": "moodle",
|
||||
"core.settings.localnotifavailable": "local_moodlemobileapp",
|
||||
"core.settings.locationhref": "local_moodlemobileapp",
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
"ioscookies": "Cross-Website Tracking",
|
||||
"ioscookiesdescription": "Embedded content from the site might require cross-site cookies to work. To enable it, please go to the app's iOS settings and enable 'Allow Cross-Website Tracking'.",
|
||||
"language": "Language",
|
||||
"legaldisclaimer": "Legal disclaimer",
|
||||
"license": "Licence",
|
||||
"localnotifavailable": "Local notifications available",
|
||||
"locationhref": "Web view URL",
|
||||
|
|
|
@ -32,6 +32,11 @@
|
|||
<ion-icon name="fas-bullhorn" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>{{ 'core.settings.helpusimprove' | translate }}</ion-label>
|
||||
</ion-item>
|
||||
<ion-item *ngIf="legalDisclaimer" class="ion-text-wrap" button core-link auto-login="no" [href]="legalDisclaimer" detail="true"
|
||||
detailIcon="open-outline">
|
||||
<ion-icon name="fas-balance-scale" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>{{ 'core.settings.legaldisclaimer' | translate }}</ion-label>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ export class CoreSettingsAboutPage {
|
|||
a11yStatement = CoreConstants.CONFIG.a11yStatement ?? 'https://apps.moodle.com/admin/tool/policy/view.php?versionid=5';
|
||||
currentSite?: CoreSite;
|
||||
showSurvey: boolean | undefined = false;
|
||||
legalDisclaimer = CoreConstants.CONFIG.legalDisclaimer;
|
||||
|
||||
constructor() {
|
||||
this.currentSite = CoreSites.getCurrentSite();
|
||||
|
|
|
@ -63,6 +63,7 @@ export interface EnvironmentConfig {
|
|||
customMainMenuItems?: CoreMainMenuLocalizedCustomItem[];
|
||||
feedbackFormUrl?: string | false;
|
||||
a11yStatement?: string | false;
|
||||
legalDisclaimer?: string | false;
|
||||
iabToolbarColors?: 'auto' | { background: string; text?: string } | null;
|
||||
wsrequestqueuelimit: number; // Maximum number of requests allowed in the queue.
|
||||
wsrequestqueuedelay: number; // Maximum number of miliseconds to wait before processing the queue.
|
||||
|
|
Loading…
Reference in New Issue