forked from EVOgeek/Vmeda.Online
22 lines
1.1 KiB
HTML
22 lines
1.1 KiB
HTML
<ion-content>
|
|
<ion-list>
|
|
<ng-container *ngFor="let group of subwikis">
|
|
<ion-item-divider *ngIf="group.label">
|
|
<ion-label>
|
|
<core-format-text [text]="group.label" contextLevel="course" [contextInstanceId]="courseId" [wsNotFiltered]="true"
|
|
class="item-heading">
|
|
</core-format-text>
|
|
</ion-label>
|
|
</ion-item-divider>
|
|
<ion-item class="ion-text-wrap" *ngFor="let subwiki of group.subwikis" (click)="openSubwiki(subwiki)" button
|
|
[attr.aria-current]="isSubwikiSelected(subwiki) ? 'page' : 'false'" detail="false">
|
|
<ion-label>
|
|
<core-format-text [text]="subwiki.name" contextLevel="course" [contextInstanceId]="courseId" [wsNotFiltered]="true">
|
|
</core-format-text>
|
|
</ion-label>
|
|
<ion-icon *ngIf="isSubwikiSelected(subwiki)" name="fas-check" slot="end" aria-hidden="true"></ion-icon>
|
|
</ion-item>
|
|
</ng-container>
|
|
</ion-list>
|
|
</ion-content>
|