Skip to content

Commit

Permalink
MOBILE-4406 course-module: Hide downloaded button from resources type…
Browse files Browse the repository at this point in the history
… label
  • Loading branch information
alfonso-salces committed Sep 22, 2023
1 parent 3dd5acc commit 9f23108
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@
</core-format-text>
<ion-icon name="fas-lock" *ngIf="module.visible === 0 || module.uservisible === false"
[attr.aria-label]="'core.restricted' | translate"></ion-icon>
<ion-icon *ngIf="prefetchStatusIcon$ | async as prefetchStatusIcon" [name]="prefetchStatusIcon" color="success"
[attr.aria-label]="((prefetchStatusText$ | async) || '') | translate"></ion-icon>
<ng-container *ngIf="module.modname !== 'label'">
<ion-icon *ngIf="prefetchStatusIcon$ | async as prefetchStatusIcon" [name]="prefetchStatusIcon" color="success"
[attr.aria-label]="((prefetchStatusText$ | async) || '') | translate">
</ion-icon>
</ng-container>
</p>

<div class="core-module-additional-info">
Expand Down

0 comments on commit 9f23108

Please sign in to comment.