- added zKillboard link to corporation icons for intel tool, closed 646

This commit is contained in:
Mark Friedrich
2018-07-06 12:35:24 +02:00
parent 039ff5b47a
commit 3fc618acd2
2 changed files with 6 additions and 2 deletions

View File

@@ -493,7 +493,9 @@ define([
_: function(data, type, row, meta){
let value = data;
if(type === 'display' && value){
value = '<img src="' + Init.url.ccpImageServer + '/Corporation/' + value + '_32.png" />';
value = '<a href="https://zkillboard.com/corporation/' + data + '/" target="_blank" rel="noopener">';
value += '<img src="' + Init.url.ccpImageServer + '/Corporation/' + data + '_32.png" />';
value += '</a>';
}
return value;
}

View File

@@ -493,7 +493,9 @@ define([
_: function(data, type, row, meta){
let value = data;
if(type === 'display' && value){
value = '<img src="' + Init.url.ccpImageServer + '/Corporation/' + value + '_32.png" />';
value = '<a href="https://zkillboard.com/corporation/' + data + '/" target="_blank" rel="noopener">';
value += '<img src="' + Init.url.ccpImageServer + '/Corporation/' + data + '_32.png" />';
value += '</a>';
}
return value;
}