MOBILE-1973 folder: Change folder icon
parent
04bc8fd81b
commit
b2fc4ae095
|
@ -18,8 +18,8 @@
|
||||||
<ion-list *ngIf="contents && contents.length > 0">
|
<ion-list *ngIf="contents && contents.length > 0">
|
||||||
<ng-container *ngFor="let file of contents">
|
<ng-container *ngFor="let file of contents">
|
||||||
<a *ngIf="file.type === 'folder'" ion-item class="item-media" [navPush]="'AddonModFolderIndexPage'" [navParams]="{path: file.filepath, courseId: courseId, module: file}">
|
<a *ngIf="file.type === 'folder'" ion-item class="item-media" [navPush]="'AddonModFolderIndexPage'" [navParams]="{path: file.filepath, courseId: courseId, module: file}">
|
||||||
<img [src]="file.fileicon" alt="" role="presentation" item-start>
|
<ion-icon name="folder" item-start></ion-icon>
|
||||||
<p>{{file.name}}</p>
|
<h2>{{file.name}}</h2>
|
||||||
</a>
|
</a>
|
||||||
<core-file *ngIf="file.type !== 'folder'" [file]="file" [component]="component" [componentId]="file.contextid"></core-file>
|
<core-file *ngIf="file.type !== 'folder'" [file]="file" [component]="component" [componentId]="file.contextid"></core-file>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
Loading…
Reference in New Issue