From: Vsevolod Stakhov Date: Thu, 16 Mar 2017 19:01:44 +0000 (+0000) Subject: [WebUI] Display symbols X-Git-Tag: 1.5.3~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c50e8b3532c3e9d8ef6409999ba31dc23d619e12;p=rspamd.git [WebUI] Display symbols --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 3ffb01e20..a19414114 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -58,7 +58,7 @@ function($) { score = 'label-danger'; } - console.log(item) + var symbols = Object.keys(item.symbols); var nitem = []; nitem.push('' + @@ -77,9 +77,9 @@ function($) { '">' + item.score.toFixed(2) + ' / ' + item.required_score.toFixed(2) + ''); - nitem.push( '
' + item.symbols + '
'); + symbols + '">' + symbols + ''); nitem.push('' + item.size + ''); nitem.push('' +