Merge pull request #2920 from dpalou/MOBILE-3799
MOBILE-3799 h5p: Display '-' or '0' in empty columns
This commit is contained in:
		
						commit
						7ddb44e465
					
				| @ -45,14 +45,16 @@ | |||||||
|                             <span *ngIf="user.attempts.length"> |                             <span *ngIf="user.attempts.length"> | ||||||
|                                 {{ user.attempts[user.attempts.length - 1].timemodified | coreFormatDate:'strftimedatetimeshort' }} |                                 {{ user.attempts[user.attempts.length - 1].timemodified | coreFormatDate:'strftimedatetimeshort' }} | ||||||
|                             </span> |                             </span> | ||||||
|  |                             <span *ngIf="!user.attempts.length">-</span> | ||||||
|                         </ion-col> |                         </ion-col> | ||||||
|                         <ion-col class="ion-text-center" size="2"> |                         <ion-col class="ion-text-center" size="2"> | ||||||
|                             <span *ngIf="user.score !== undefined"> |                             <span *ngIf="user.score !== undefined"> | ||||||
|                                 {{ 'core.percentagenumber' | translate: {$a: user.score} }} |                                 {{ 'core.percentagenumber' | translate: {$a: user.score} }} | ||||||
|                             </span> |                             </span> | ||||||
|  |                             <span *ngIf="user.score === undefined">-</span> | ||||||
|                         </ion-col> |                         </ion-col> | ||||||
|                         <ion-col class="ion-text-center" size="2"> |                         <ion-col class="ion-text-center" size="2"> | ||||||
|                             <span *ngIf="user.attempts.length">{{user.attempts.length}}</span> |                             {{user.attempts.length}} | ||||||
|                         </ion-col> |                         </ion-col> | ||||||
|                     </ion-row> |                     </ion-row> | ||||||
|                 </ion-label> |                 </ion-label> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user