mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* feat(marketplace): extract common components * chore: fix service provide * feat(markdown): allow Observable content * chore: remove unnecessary module import * minor styling for marketplacee list * only show loading for marketplace show if version change * chore: get rid of unnecessary server request * chore: fix version switching Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
30 lines
730 B
HTML
30 lines
730 B
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-title>{{ title | titlecase }}</ion-title>
|
|
<ion-buttons slot="end">
|
|
<ion-button (click)="dismiss()">
|
|
<ion-icon slot="icon-only" name="close"></ion-icon>
|
|
</ion-button>
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content>
|
|
<ion-item *ngIf="error$ | async as error">
|
|
<ion-label>
|
|
<ion-text safeLinks color="danger">{{ error }}</ion-text>
|
|
</ion-label>
|
|
</ion-item>
|
|
|
|
<div
|
|
*ngIf="content$ | async as result; else loading"
|
|
safeLinks
|
|
class="content-padding"
|
|
[innerHTML]="result | markdown"
|
|
></div>
|
|
|
|
<ng-template #loading>
|
|
<text-spinner [text]="'Loading ' + title | titlecase"></text-spinner>
|
|
</ng-template>
|
|
</ion-content>
|