Show division and ASN number

This commit is contained in:
nymkappa
2022-07-12 21:28:02 +02:00
parent f2983e28a3
commit 6e09a1c96b
2 changed files with 11 additions and 7 deletions

View File

@@ -33,12 +33,13 @@
<app-sats [satoshis]="node.channels_capacity_avg"></app-sats><app-fiat [value]="node.channels_capacity_avg" digitsInfo="1.0-0"></app-fiat>
</td>
</tr>
<tr *ngIf="node.country || node.city">
<tr *ngIf="node.country && node.city && node.subdivision">
<td i18n="location">Location</td>
<td>
<span *ngIf="node.country">{{ node.country.en }}</span>
<span *ngIf="node.city"> ({{ node.city.en }})</span>
</td>
<td>{{ node.city.en }}, {{ node.subdivision.en }}<br>{{ node.country.en }}</td>
</tr>
<tr *ngIf="node.country && !node.city">
<td i18n="location">Location</td>
<td>{{ node.country.en }}</td>
</tr>
</tbody>
</table>
@@ -66,7 +67,7 @@
<tr *ngIf="node.country">
<td i18n="isp">ISP</td>
<td>
{{ node.as_organization }}
{{ node.as_organization }} [ASN {{node.as_number}}]
</td>
</tr>
</tbody>