MOBILE-3865 about: Add a11y statement link
parent
0ba56b1558
commit
a200b97867
|
@ -2068,6 +2068,7 @@
|
|||
"core.sending": "chat",
|
||||
"core.serverconnection": "error",
|
||||
"core.settings.about": "local_moodlemobileapp",
|
||||
"core.settings.accessibilitystatement": "local_moodlemobileapp",
|
||||
"core.settings.appsettings": "local_moodlemobileapp",
|
||||
"core.settings.appversion": "local_moodlemobileapp",
|
||||
"core.settings.cannotsyncloggedout": "local_moodlemobileapp",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"about": "About",
|
||||
"accessibilitystatement": "Accessibility statement",
|
||||
"appsettings": "App settings",
|
||||
"appversion": "App version",
|
||||
"cannotsyncloggedout": "This site cannot be synchronised because you've logged out. Please try again when you're logged in the site again.",
|
||||
|
|
|
@ -28,6 +28,15 @@
|
|||
<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
|
||||
*ngIf="a11yStatement"
|
||||
class="ion-text-wrap"
|
||||
button core-link auto-login="no" [href]="a11yStatement"
|
||||
detail="true" detailIcon="open-outline"
|
||||
>
|
||||
<ion-icon name="fas-universal-access" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>{{ 'core.settings.accessibilitystatement' | translate }}</ion-label>
|
||||
</ion-item>
|
||||
<ion-item
|
||||
*ngIf="feedbackFormUrl"
|
||||
class="ion-text-wrap"
|
||||
|
|
|
@ -31,6 +31,7 @@ export class CoreSettingsAboutPage {
|
|||
versionName: string;
|
||||
privacyPolicy: string;
|
||||
feedbackFormUrl = CoreConstants.CONFIG.feedbackFormUrl ?? 'https://feedback.moodle.org/mobileapp';
|
||||
a11yStatement = CoreConstants.CONFIG.a11yStatement ?? 'https://apps.moodle.com/admin/tool/policy/view.php?versionid=5';
|
||||
|
||||
constructor() {
|
||||
const currentSite = CoreSites.getCurrentSite();
|
||||
|
|
|
@ -56,4 +56,5 @@ export interface EnvironmentConfig {
|
|||
iOSDefaultOpenFileAction?: OpenFileAction;
|
||||
customMainMenuItems?: CoreMainMenuLocalizedCustomItem[];
|
||||
feedbackFormUrl?: string | false;
|
||||
a11yStatement?: string | false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue