simplify display of incoming/outgoing links
- use words rather than symbols - place outgoing first - it's more important - tooltip gives a few more details, including outgoing limit and total link count
This commit is contained in:
parent
22299adcef
commit
4a040e2db2
@ -168,8 +168,8 @@ window.getPortalMiscDetails = function(guid,d) {
|
|||||||
links[link.isOrigin ? 'outgoing' : 'incoming']++;
|
links[link.isOrigin ? 'outgoing' : 'incoming']++;
|
||||||
});
|
});
|
||||||
|
|
||||||
function linkExpl(t) { return '<tt title="↳ incoming links\n↴ outgoing links\n• is the portal">'+t+'</tt>'; }
|
function linkExpl(t) { return '<tt title="'+links.outgoing+' links out (8 max)\n'+links.incoming+' links in\n('+(links.outgoing+links.incoming)+' total)">'+t+'</tt>'; }
|
||||||
var linksText = [linkExpl('links'), linkExpl(' ↳ ' + links.incoming+' • '+links.outgoing+' ↴')];
|
var linksText = [linkExpl('links'), linkExpl(links.outgoing+' out / '+links.incoming+' in')];
|
||||||
|
|
||||||
var player = d.captured && d.captured.capturingPlayerId
|
var player = d.captured && d.captured.capturingPlayerId
|
||||||
? '<span class="nickname">' + d.captured.capturingPlayerId + '</span>'
|
? '<span class="nickname">' + d.captured.capturingPlayerId + '</span>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user