Merge pull request #2806 from NoelDeMartin/MOBILE-3765
MOBILE-3765: Add link to feedback form in about sectionmain
commit
87fca35582
|
@ -2096,6 +2096,7 @@
|
|||
"core.settings.fontsizecharacter": "block_accessibility/char",
|
||||
"core.settings.forcedsetting": "local_moodlemobileapp",
|
||||
"core.settings.general": "moodle",
|
||||
"core.settings.helpusimprove": "local_moodlemobileapp",
|
||||
"core.settings.ioscookies": "local_moodlemobileapp",
|
||||
"core.settings.ioscookiesdescription": "local_moodlemobileapp",
|
||||
"core.settings.language": "moodle",
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
</ion-item>
|
||||
<ng-container *ngFor="let item of customItems">
|
||||
<ion-item button *ngIf="item.type != 'embedded'" [href]="item.url" [attr.aria-label]="item.label" core-link
|
||||
[capture]="item.type == 'app'" [inApp]="item.type == 'inappbrowser'" class="core-moremenu-customitem" detail="true">
|
||||
[capture]="item.type == 'app'" [inApp]="item.type == 'inappbrowser'" class="core-moremenu-customitem" detail="true"
|
||||
[detailIcon]="item.type == 'browser' ? 'open-outline' : null">
|
||||
<ion-icon [name]="item.icon" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>
|
||||
<p class="item-heading">{{item.label}}</p>
|
||||
|
@ -62,14 +63,14 @@
|
|||
</ion-label>
|
||||
</ion-item>
|
||||
<ion-item button *ngIf="showWeb && siteInfo" [href]="siteInfo.siteurl" core-link autoLogin="yes"
|
||||
[attr.aria-label]="'core.mainmenu.website' | translate" detail="true">
|
||||
[attr.aria-label]="'core.mainmenu.website' | translate" detail="true" detailIcon="open-outline">
|
||||
<ion-icon name="fas-globe" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>
|
||||
<p class="item-heading">{{ 'core.mainmenu.website' | translate }}</p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
<ion-item button *ngIf="showHelp" [href]="docsUrl" core-link autoLogin="no"
|
||||
[attr.aria-label]="'core.mainmenu.help' | translate" detail="true">
|
||||
[attr.aria-label]="'core.mainmenu.help' | translate" detail="true" detailIcon="open-outline">
|
||||
<ion-icon name="far-life-ring" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>
|
||||
<p class="item-heading">{{ 'core.mainmenu.help' | translate }}</p>
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
"fontsizecharacter": "A",
|
||||
"forcedsetting": "This setting has been forced by your site configuration.",
|
||||
"general": "General",
|
||||
"helpusimprove": "Help us improve this app",
|
||||
"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",
|
||||
|
|
|
@ -17,12 +17,25 @@
|
|||
<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-item
|
||||
*ngIf="privacyPolicy"
|
||||
class="ion-text-wrap"
|
||||
button core-link auto-login="no" [href]="privacyPolicy"
|
||||
detail="true" detailIcon="open-outline"
|
||||
>
|
||||
<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
|
||||
class="ion-text-wrap"
|
||||
button core-link href="https://feedback.moodle.org/mobileapp"
|
||||
detail="true" detailIcon="open-outline"
|
||||
>
|
||||
<ion-icon name="fas-bullhorn" slot="start" aria-hidden="true"></ion-icon>
|
||||
<ion-label>{{ 'core.settings.helpusimprove' | translate }}</ion-label>
|
||||
</ion-item>
|
||||
</ion-content>
|
||||
|
|
Loading…
Reference in New Issue