From 4a040e2db2718e393d7da397ccb91ab4e68e0c10 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 14 Apr 2014 23:00:09 +0100 Subject: [PATCH] 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 --- code/portal_detail_display.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index f1841488..0e7db7c3 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -168,8 +168,8 @@ window.getPortalMiscDetails = function(guid,d) { links[link.isOrigin ? 'outgoing' : 'incoming']++; }); - function linkExpl(t) { return ''+t+''; } - var linksText = [linkExpl('links'), linkExpl(' ↳ ' + links.incoming+'  •  '+links.outgoing+' ↴')]; + function linkExpl(t) { return ''+t+''; } + var linksText = [linkExpl('links'), linkExpl(links.outgoing+' out / '+links.incoming+' in')]; var player = d.captured && d.captured.capturingPlayerId ? '' + d.captured.capturingPlayerId + ''