forked from EVOgeek/Vmeda.Online
		
	MOBILE-3320 workshop: Display '-' if no assessment grade
This commit is contained in:
		
							parent
							
								
									c2e82f7ad1
								
							
						
					
					
						commit
						247505f2ba
					
				| @ -70,7 +70,7 @@ | ||||
|             <ion-item class="ion-text-wrap"> | ||||
|                 <ion-label> | ||||
|                     <h2>{{ 'addon.mod_workshop.gradinggradecalculated' | translate }}</h2> | ||||
|                     <p>{{ assessment.gradinggrade }}</p> | ||||
|                     <p>{{ gradingGrade }}</p> | ||||
|                 </ion-label> | ||||
|             </ion-item> | ||||
|             <ion-item class="ion-text-wrap" *ngIf="access?.canoverridegrades"> | ||||
|  | ||||
| @ -74,6 +74,7 @@ export class AddonModWorkshopAssessmentPage implements OnInit, OnDestroy, CanLea | ||||
|     weights: number[] = []; | ||||
|     evaluateByProfile?: CoreUserProfile; | ||||
|     evaluationGrades: CoreGradesMenuItem[] = []; | ||||
|     gradingGrade?: string | number; | ||||
| 
 | ||||
|     protected workshopId!: number; | ||||
|     protected originalEvaluation: AddonModWorkshopAssessmentEvaluation = { | ||||
| @ -193,6 +194,7 @@ export class AddonModWorkshopAssessmentPage implements OnInit, OnDestroy, CanLea | ||||
|             this.assessment = AddonModWorkshopHelper.realGradeValue(this.workshop, assessment); | ||||
|             this.evaluate.text = this.assessment.feedbackreviewer || ''; | ||||
|             this.evaluate.weight = this.assessment.weight; | ||||
|             this.gradingGrade = this.assessment.gradinggrade ?? '-'; | ||||
| 
 | ||||
|             if (this.evaluating) { | ||||
|                 if (this.access.canallocate) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user