<ion-item-divider>
    <h2>{{ 'addon.block_sitemainmenu.pluginname' | translate }}</h2>
</ion-item-divider>
<core-loading [hideUntil]="loaded" class="core-loading-center">
    <ng-container *ngIf="mainMenuBlock">
        <ion-item text-wrap *ngIf="mainMenuBlock.summary">
            <core-format-text [text]="mainMenuBlock.summary"></core-format-text>
        </ion-item>

        <core-course-module *ngFor="let module of mainMenuBlock.modules" [module]="module" [courseId]="siteHomeId" [downloadEnabled]="downloadEnabled" [section]="mainMenuBlock"></core-course-module>
    </ng-container>
</core-loading>
