mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
LN Settings: Show only node host name (#4927)
This commit is contained in:
parent
920ad67633
commit
a0bb3ace61
2 changed files with 4 additions and 4 deletions
|
@ -11,14 +11,14 @@
|
|||
<h3 class="mb-3">@ViewData["Title"]</h3>
|
||||
<div class="mb-3">
|
||||
<span class="me-3" id="NodeType">@Model.LightningNodeType Node</span>
|
||||
|
||||
|
||||
@if (Model.LightningNodeType != LightningNodeType.Internal)
|
||||
{
|
||||
<span class="me-3" id="CustomNodeInfo">
|
||||
@if (LightningConnectionString.TryParse(Model.ConnectionString, out var cs))
|
||||
{
|
||||
@typeof(LightningConnectionType).DisplayName(cs.ConnectionType.ToString())
|
||||
<span>(@cs.BaseUri)</span>
|
||||
<span>(@cs.BaseUri.Host)</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
|||
Public Node Info
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
@if (Model.Services != null && Model.Services.Any())
|
||||
{
|
||||
<div permission="@Policies.CanModifyServerSettings" class="mt-5">
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
@if (LightningConnectionString.TryParse(Model.ConnectionString, out var cs))
|
||||
{
|
||||
@typeof(LightningConnectionType).DisplayName(cs.ConnectionType.ToString())
|
||||
<span>(@cs.BaseUri)</span>
|
||||
<span>(@cs.BaseUri.Host)</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue