mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
enable markdown in config property descriptions and warnings
This commit is contained in:
committed by
Aiden McClelland
parent
3ff9b870cf
commit
bf1c935667
@@ -11,14 +11,14 @@
|
||||
<ion-item *ngIf="spec.description">
|
||||
<ion-label class="ion-text-wrap">
|
||||
<p><ion-text color="dark">Description</ion-text></p>
|
||||
<p>{{ spec.description }}</p>
|
||||
<p *ngIf="spec.description" [innerHTML]="spec.description | markdown"></p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
<!-- warning -->
|
||||
<ion-item *ngIf="spec.changeWarning">
|
||||
<ion-label class="ion-text-wrap">
|
||||
<p><ion-text color="warning">Warning!</ion-text></p>
|
||||
<p>{{ spec.changeWarning }}</p>
|
||||
<p *ngIf="spec.changeWarning" [innerHTML]="spec.changeWarning | markdown"></p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
</ion-item-group>
|
||||
@@ -847,7 +847,7 @@ const mockApiAppConfig: ReqRes.GetAppConfigRes = {
|
||||
'testnet': {
|
||||
'name': 'Testnet',
|
||||
'type': 'boolean',
|
||||
'description': 'determines whether your node is running ontestnet or mainnet',
|
||||
'description': '*Hello*, **Testing Markdown**. Lorem ipsum dolor si',
|
||||
'changeWarning': 'Chain will have to resync!',
|
||||
'default': false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user