Merge pull request #2516 from mempool/nymkappa/feature/show-tor-node-page
Show that we don't know where a node is because it's running on tor
This commit is contained in:
		
						commit
						7a2d90ff67
					
				@ -44,11 +44,14 @@
 | 
			
		||||
                <app-fiat [value]="node.avgCapacity" digitsInfo="1.0-0"></app-fiat>
 | 
			
		||||
              </td>
 | 
			
		||||
            </tr>
 | 
			
		||||
            <tr *ngIf="node.geolocation">
 | 
			
		||||
            <tr>
 | 
			
		||||
              <td i18n="location" class="text-truncate">Location</td>
 | 
			
		||||
              <td>
 | 
			
		||||
              <td *ngIf="node.geolocation">
 | 
			
		||||
                <app-geolocation [data]="node.geolocation" [type]="'node'"></app-geolocation>
 | 
			
		||||
              </td>
 | 
			
		||||
              <td *ngIf="!node.geolocation">
 | 
			
		||||
                <span i18n="unknown">Unknown</span>
 | 
			
		||||
              </td>
 | 
			
		||||
            </tr>
 | 
			
		||||
          </tbody>
 | 
			
		||||
        </table>
 | 
			
		||||
@ -75,13 +78,16 @@
 | 
			
		||||
                <div [ngStyle]="{'color': node.color}">{{ node.color }}</div>
 | 
			
		||||
              </td>
 | 
			
		||||
            </tr>
 | 
			
		||||
            <tr *ngIf="node.country">
 | 
			
		||||
            <tr>
 | 
			
		||||
              <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]">
 | 
			
		||||
                  {{ node.as_organization }} [ASN {{node.as_number}}]
 | 
			
		||||
                </a>                
 | 
			
		||||
              </td>
 | 
			
		||||
              <td *ngIf="!node.as_number">
 | 
			
		||||
                <span class="badge badge-success" placement="bottom" i18n="tor">Exclusively on Tor</span>
 | 
			
		||||
              </td>
 | 
			
		||||
            </tr>
 | 
			
		||||
          </tbody>
 | 
			
		||||
        </table>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user