commit
						d0c4d986ea
					
				| @ -647,7 +647,9 @@ export class AddonModQuizIndexComponent extends CoreCourseModuleMainActivityComp | |||||||
| 
 | 
 | ||||||
|             if (data) { |             if (data) { | ||||||
|                 this.gradebookData = { |                 this.gradebookData = { | ||||||
|                     grade: 'graderaw' in data ? data.graderaw : Number(data.grade), |                     grade: 'graderaw' in data && data.graderaw !== undefined && data.graderaw !== null ? | ||||||
|  |                         data.graderaw : | ||||||
|  |                         (data.grade !== undefined && data.grade !== null ? Number(data.grade) : undefined), | ||||||
|                     feedback: data.feedback, |                     feedback: data.feedback, | ||||||
|                 }; |                 }; | ||||||
|             } |             } | ||||||
|  | |||||||
| @ -17,11 +17,9 @@ | |||||||
|             </core-format-text> |             </core-format-text> | ||||||
|         </ion-label> |         </ion-label> | ||||||
|     </ion-item> |     </ion-item> | ||||||
|     <ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded"> |     <div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded"> | ||||||
|         <ion-label> |  | ||||||
|         <core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId" |         <core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId" | ||||||
|             [text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()"> |             [text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()"> | ||||||
|         </core-format-text> |         </core-format-text> | ||||||
|         </ion-label> |     </div> | ||||||
|     </ion-item> |  | ||||||
| </div> | </div> | ||||||
|  | |||||||
| @ -16,11 +16,9 @@ | |||||||
|             </core-format-text> |             </core-format-text> | ||||||
|         </ion-label> |         </ion-label> | ||||||
|     </ion-item> |     </ion-item> | ||||||
|     <ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded"> |     <div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded"> | ||||||
|         <ion-label> |  | ||||||
|         <core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId" |         <core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId" | ||||||
|             [text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()"> |             [text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()"> | ||||||
|         </core-format-text> |         </core-format-text> | ||||||
|         </ion-label> |     </div> | ||||||
|     </ion-item> |  | ||||||
| </div> | </div> | ||||||
|  | |||||||
| @ -2,8 +2,7 @@ | |||||||
|     <!-- Content is outside the core-loading to let the script calculate drag items position --> |     <!-- Content is outside the core-loading to let the script calculate drag items position --> | ||||||
|     <core-loading [hideUntil]="ddQuestion.loaded"></core-loading> |     <core-loading [hideUntil]="ddQuestion.loaded"></core-loading> | ||||||
| 
 | 
 | ||||||
|     <ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded"> |     <div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded"> | ||||||
|         <ion-label> |  | ||||||
|         <ion-card *ngIf="!ddQuestion.readOnly" class="core-info-card"> |         <ion-card *ngIf="!ddQuestion.readOnly" class="core-info-card"> | ||||||
|             <ion-item> |             <ion-item> | ||||||
|                 <ion-icon name="fas-info-circle" slot="start" aria-hidden="true"></ion-icon> |                 <ion-icon name="fas-info-circle" slot="start" aria-hidden="true"></ion-icon> | ||||||
| @ -22,6 +21,5 @@ | |||||||
| 
 | 
 | ||||||
|             <div class="drags"></div> |             <div class="drags"></div> | ||||||
|         </div> |         </div> | ||||||
|         </ion-label> |     </div> | ||||||
|     </ion-item> |  | ||||||
| </div> | </div> | ||||||
|  | |||||||
| @ -209,9 +209,7 @@ core-format-text { | |||||||
| core-format-text { | core-format-text { | ||||||
|     ul { |     ul { | ||||||
|         padding-left: 1rem; |         padding-left: 1rem; | ||||||
|     } |         -webkit-margin-start: .2rem; | ||||||
|     ul, ol { |  | ||||||
|         -webkit-padding-start: 15px; |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .atto_image_button_text-top, |     .atto_image_button_text-top, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user