forked from CIT/Vmeda.Online
25 lines
1.0 KiB
HTML
25 lines
1.0 KiB
HTML
<ion-header>
|
|
<ion-navbar core-back-button>
|
|
<ion-title>{{ title }}</ion-title>
|
|
|
|
<ion-buttons end>
|
|
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">
|
|
<ion-icon name="close"></ion-icon>
|
|
</button>
|
|
</ion-buttons>
|
|
</ion-navbar>
|
|
</ion-header>
|
|
<ion-content padding>
|
|
<core-format-text [text]="content" [component]="component" [componentId]="componentId" [filter]="filter" [contextLevel]="contextLevel" [contextInstanceId]="instanceId" [courseId]="courseId"></core-format-text>
|
|
|
|
<ion-card *ngIf="files && files.length">
|
|
<core-file *ngFor="let file of files" [file]="file" [component]="component" [componentId]="componentId"></core-file>
|
|
</ion-card>
|
|
</ion-content>
|
|
<ion-footer color="light" *ngIf="displayCopyButton">
|
|
<button ion-button block color="light" icon-start (click)="copyText()">
|
|
<ion-icon name="copy" aria-hidden="true"></ion-icon>
|
|
{{ 'core.copytoclipboard' | translate }}
|
|
</button>
|
|
</ion-footer>
|