forked from CIT/Vmeda.Online
		
	MOBILE-3765 about: Add feedback form url to config
This commit is contained in:
		
							parent
							
								
									75cedafa33
								
							
						
					
					
						commit
						54e1baca9d
					
				@ -177,6 +177,7 @@ export interface EnvironmentConfig {
 | 
				
			|||||||
    forceOpenLinksIn: 'app' | 'browser';
 | 
					    forceOpenLinksIn: 'app' | 'browser';
 | 
				
			||||||
    iOSDefaultOpenFileAction?: OpenFileAction;
 | 
					    iOSDefaultOpenFileAction?: OpenFileAction;
 | 
				
			||||||
    customMainMenuItems?: CoreMainMenuLocalizedCustomItem[];
 | 
					    customMainMenuItems?: CoreMainMenuLocalizedCustomItem[];
 | 
				
			||||||
 | 
					    feedbackFormUrl?: string | false;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface EnvironmentBuild {
 | 
					export interface EnvironmentBuild {
 | 
				
			||||||
 | 
				
			|||||||
@ -31,8 +31,9 @@
 | 
				
			|||||||
        <ion-label>{{ 'core.settings.privacypolicy' | translate }}</ion-label>
 | 
					        <ion-label>{{ 'core.settings.privacypolicy' | translate }}</ion-label>
 | 
				
			||||||
    </ion-item>
 | 
					    </ion-item>
 | 
				
			||||||
    <ion-item
 | 
					    <ion-item
 | 
				
			||||||
 | 
					        *ngIf="feedbackFormUrl"
 | 
				
			||||||
        class="ion-text-wrap"
 | 
					        class="ion-text-wrap"
 | 
				
			||||||
        button core-link href="https://feedback.moodle.org/mobileapp"
 | 
					        button core-link [href]="feedbackFormUrl"
 | 
				
			||||||
        detail="true" detailIcon="open-outline"
 | 
					        detail="true" detailIcon="open-outline"
 | 
				
			||||||
    >
 | 
					    >
 | 
				
			||||||
        <ion-icon name="fas-bullhorn" slot="start" aria-hidden="true"></ion-icon>
 | 
					        <ion-icon name="fas-bullhorn" slot="start" aria-hidden="true"></ion-icon>
 | 
				
			||||||
 | 
				
			|||||||
@ -30,6 +30,7 @@ export class CoreSettingsAboutPage {
 | 
				
			|||||||
    appName: string;
 | 
					    appName: string;
 | 
				
			||||||
    versionName: string;
 | 
					    versionName: string;
 | 
				
			||||||
    privacyPolicy: string;
 | 
					    privacyPolicy: string;
 | 
				
			||||||
 | 
					    feedbackFormUrl = CoreConstants.CONFIG.feedbackFormUrl ?? 'https://feedback.moodle.org/mobileapp';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    constructor() {
 | 
					    constructor() {
 | 
				
			||||||
        const currentSite = CoreSites.getCurrentSite();
 | 
					        const currentSite = CoreSites.getCurrentSite();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user