Merge pull request #2409 from mempool/simon/channel-closing-type-header

Add closing type badge to channel header
This commit is contained in:
wiz 2022-08-28 17:25:17 +02:00 committed by GitHub
commit 5878def72c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,7 @@
<span class="badge rounded-pill badge-secondary" *ngIf="channel.status === 0">Inactive</span>
<span class="badge rounded-pill badge-success" *ngIf="channel.status === 1">Active</span>
<span class="badge rounded-pill badge-danger" *ngIf="channel.status === 2">Closed</span>
<app-closing-type *ngIf="channel.closing_reason" [type]="channel.closing_reason"></app-closing-type>
</div>
<div class="clearfix"></div>

View file

@ -30,6 +30,10 @@
font-size: 20px;
}
.badge {
margin-right: 5px;
}
app-fiat {
display: block;
font-size: 13px;