File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/addon/mod/h5pactivity/pages/user-attempts Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 99 </ ion-refresher >
1010 < core-loading [hideUntil] ="loaded ">
1111 <!-- User viewed. -->
12- < a ion-item text-wrap *ngIf ="user " core-user-link [userId] ="user.id " [courseId] ="courseId " [title] ="user.fullname ">
12+ < a ion-item text-wrap *ngIf ="user && !isCurrentUser " core-user-link [userId] ="user.id " [courseId] ="courseId " [title] ="user.fullname ">
1313 < ion-avatar core-user-avatar [user] ="user " item-start > </ ion-avatar >
14- < h2 *ngIf ="!isCurrentUser "> {{ user.fullname }}</ h2 >
15- < h2 *ngIf ="isCurrentUser "> {{ 'addon.mod_h5pactivity.myattempts' | translate }}</ h2 >
14+ < h2 > {{ user.fullname }}</ h2 >
1615 </ a >
16+ < ion-item text-wrap *ngIf ="user && isCurrentUser ">
17+ < ion-avatar core-user-avatar [user] ="user " item-start > </ ion-avatar >
18+ < h2 > {{ 'addon.mod_h5pactivity.myattempts' | translate }}</ h2 >
19+ </ ion-item >
1720
1821 < ion-list *ngIf ="attemptsData ">
1922 <!-- Attempts used to calculate the score. -->
You can’t perform that action at this time.
0 commit comments