forked from CIT/Vmeda.Online
		
	MOBILE-3182 core: Fix message when module is disabled
This commit is contained in:
		
							parent
							
								
									4c03c0174a
								
							
						
					
					
						commit
						a2e37d26c8
					
				| @ -46,7 +46,7 @@ | ||||
|                 </ion-item> | ||||
|                 <ion-item text-wrap no-lines *ngIf="attempt.readableMark"> | ||||
|                     <h2>{{ 'addon.mod_quiz.marks' | translate }}</h2> | ||||
|                     <p><{{ attempt.readableMark }}</p> | ||||
|                     <p>{{ attempt.readableMark }}</p> | ||||
|                 </ion-item> | ||||
|                 <ion-item text-wrap no-lines *ngIf="attempt.readableGrade"> | ||||
|                     <h2>{{ 'addon.mod_quiz.grade' | translate }}</h2> | ||||
|  | ||||
| @ -1316,7 +1316,7 @@ | ||||
|     "core.back": "Back", | ||||
|     "core.block.blocks": "Blocks", | ||||
|     "core.cancel": "Cancel", | ||||
|     "core.cannotconnect": "Cannot connect: Verify that you have correctly typed the URL and that your site uses Moodle 2.4 or later.", | ||||
|     "core.cannotconnect": "Cannot connect: Verify that you have correctly typed the URL and that your site uses Moodle 3.1 or later.", | ||||
|     "core.cannotdownloadfiles": "File downloading is disabled. Please contact your site administrator.", | ||||
|     "core.captureaudio": "Record audio", | ||||
|     "core.capturedimage": "Taken picture.", | ||||
|  | ||||
| @ -278,7 +278,7 @@ export class CoreCourseModuleDelegate extends CoreDelegate { | ||||
|      * @return Whether module is disabled. | ||||
|      */ | ||||
|     isModuleDisabledInSite(modname: string, site?: CoreSite): boolean { | ||||
|         const handler = this.getHandler(modname, true); | ||||
|         const handler = this.getHandler(modname, false); | ||||
| 
 | ||||
|         if (handler) { | ||||
|             site = site || this.sitesProvider.getCurrentSite(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user