MOBILE-2598 competencies: Fix activity links, open them in app

main
dpalou 2018-09-19 12:16:56 +02:00
parent a6b6d28d40
commit 75d71e166a
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
<span *ngIf="competency.coursemodules.length == 0"> <span *ngIf="competency.coursemodules.length == 0">
{{ 'addon.competency.noactivities' | translate }} {{ 'addon.competency.noactivities' | translate }}
</span> </span>
<a ion-item text-wrap *ngFor="let activity of competency.coursemodules" [href]="activity.url" [title]="activity.name"> <a ion-item text-wrap *ngFor="let activity of competency.coursemodules" [href]="activity.url" [title]="activity.name" core-link capture="true">
<img item-start [src]="activity.iconurl" core-external-content alt="" role="presentation" *ngIf="activity.iconurl" class="core-module-icon"> <img item-start [src]="activity.iconurl" core-external-content alt="" role="presentation" *ngIf="activity.iconurl" class="core-module-icon">
<core-format-text [text]="activity.name"></core-format-text> <core-format-text [text]="activity.name"></core-format-text>
</a> </a>