moved location and contact to the bottom
This commit is contained in:
parent
fdb21c0cbd
commit
b019ff6ec8
@ -221,23 +221,6 @@ angular.module('netStatsApp.filters', [])
|
||||
var tooltip = [];
|
||||
var string = '';
|
||||
|
||||
if(node.geo !== null)
|
||||
{
|
||||
string = "Location: <b>";
|
||||
|
||||
if(node.geo.city !== '')
|
||||
string += node.geo.city + ", ";
|
||||
string += node.geo.country + "</b>";
|
||||
|
||||
tooltip.push(string);
|
||||
}
|
||||
|
||||
if(node.info.contact !== '') {
|
||||
string = "Contact: <b>" + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "</b>";
|
||||
|
||||
tooltip.push(string);
|
||||
}
|
||||
|
||||
if(node.info.node !== '') {
|
||||
var eth_version = node.info.node.split('/');
|
||||
|
||||
@ -289,6 +272,23 @@ angular.module('netStatsApp.filters', [])
|
||||
tooltip.push(string);
|
||||
}
|
||||
|
||||
if(node.geo !== null)
|
||||
{
|
||||
string = "Location: <b>";
|
||||
|
||||
if(node.geo.city !== '')
|
||||
string += node.geo.city + ", ";
|
||||
string += node.geo.country + "</b>";
|
||||
|
||||
tooltip.push(string);
|
||||
}
|
||||
|
||||
if(node.info.contact !== '') {
|
||||
string = "Contact: <b>" + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "</b>";
|
||||
|
||||
tooltip.push(string);
|
||||
}
|
||||
|
||||
return tooltip.join("<br>");
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user