forked from EVOgeek/Vmeda.Online
35 lines
1.5 KiB
HTML
35 lines
1.5 KiB
HTML
<!-- Buttons to add to the header. -->
|
|
<core-navbar-buttons slot="end">
|
|
<ion-button fill="clear" (click)="openModuleSummary()" aria-haspopup="true" [attr.aria-label]="'core.course.modulesummary' | translate">
|
|
<ion-icon name="fas-info-circle" slot="icon-only" aria-hidden="true"></ion-icon>
|
|
</ion-button>
|
|
</core-navbar-buttons>
|
|
|
|
<!-- Content. -->
|
|
<core-loading [hideUntil]="loaded" class="safe-area-padding">
|
|
|
|
<!-- Activity info. -->
|
|
<core-course-module-info [module]="module" [description]="description" [component]="component" [componentId]="componentId"
|
|
[courseId]="courseId">
|
|
</core-course-module-info>
|
|
|
|
<ion-card *ngIf="chatInfo" class="core-info-card">
|
|
<ion-item>
|
|
<ion-icon name="fas-clock" slot="start" aria-hidden="true"></ion-icon>
|
|
<ion-label>{{ 'addon.mod_chat.sessionstart' | translate:{$a: chatInfo} }}</ion-label>
|
|
</ion-item>
|
|
</ion-card>
|
|
|
|
<ng-container *ngIf="chat">
|
|
<ion-button class="ion-margin ion-text-wrap" expand="block" color="primary" (click)="enterChat()">
|
|
{{ 'addon.mod_chat.enterchat' | translate }}
|
|
</ion-button>
|
|
<ion-button class="ion-margin ion-text-wrap" expand="block" color="light" (click)="viewSessions()">
|
|
{{ 'addon.mod_chat.viewreport' | translate }}
|
|
</ion-button>
|
|
</ng-container>
|
|
</core-loading>
|
|
|
|
<core-course-module-navigation [hidden]="!loaded" [courseId]="courseId" [currentModule]="module" (completionChanged)="onCompletionChange()">
|
|
</core-course-module-navigation>
|