Show that we don't know where a node is because it's running on tor
This commit is contained in:
parent
9047cb5998
commit
efb18c7548
@ -44,11 +44,14 @@
|
|||||||
<app-fiat [value]="node.avgCapacity" digitsInfo="1.0-0"></app-fiat>
|
<app-fiat [value]="node.avgCapacity" digitsInfo="1.0-0"></app-fiat>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr *ngIf="node.geolocation">
|
<tr>
|
||||||
<td i18n="location" class="text-truncate">Location</td>
|
<td i18n="location" class="text-truncate">Location</td>
|
||||||
<td>
|
<td *ngIf="node.geolocation">
|
||||||
<app-geolocation [data]="node.geolocation" [type]="'node'"></app-geolocation>
|
<app-geolocation [data]="node.geolocation" [type]="'node'"></app-geolocation>
|
||||||
</td>
|
</td>
|
||||||
|
<td *ngIf="!node.geolocation">
|
||||||
|
<span i18n="unknown">Unknown</span>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -75,13 +78,16 @@
|
|||||||
<div [ngStyle]="{'color': node.color}">{{ node.color }}</div>
|
<div [ngStyle]="{'color': node.color}">{{ node.color }}</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr *ngIf="node.country">
|
<tr>
|
||||||
<td i18n="isp" class="text-truncate label">ISP</td>
|
<td i18n="isp" class="text-truncate label">ISP</td>
|
||||||
<td>
|
<td *ngIf="node.as_number">
|
||||||
<a class="d-block text-wrap" [routerLink]="['/lightning/nodes/isp' | relativeUrl, node.as_number]">
|
<a class="d-block text-wrap" [routerLink]="['/lightning/nodes/isp' | relativeUrl, node.as_number]">
|
||||||
{{ node.as_organization }} [ASN {{node.as_number}}]
|
{{ node.as_organization }} [ASN {{node.as_number}}]
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td *ngIf="!node.as_number">
|
||||||
|
<span class="badge badge-success" placement="bottom" i18n="tor">Running on Tor</span>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user