diff --git a/diffir/templates/template.html b/diffir/templates/template.html index bd10c44..b082cc9 100644 --- a/diffir/templates/template.html +++ b/diffir/templates/template.html @@ -363,7 +363,7 @@
} }); if (otherRank === null) { - var symbol = '✖'; + var symbol = '×'; var tip = 'not ranked in other run'; } else if (doc.rank === otherRank) { @@ -377,12 +377,12 @@ var tip = 'ranked higher in other run (' + otherRank + ')' } var newEl = $('') - .append($('').text(symbol).css('float', docIdFloat).css('text-align', docIdFloat === 'right' ? 'left' : 'right').attr('title', tip)) + // .append($('').text(symbol).css('float', docIdFloat).css('text-align', docIdFloat === 'right' ? 'left' : 'right').attr('title', tip)) .append($('') .attr('data-docid', doc.doc_id) .append($('') .css('padding-' + docIdFloat, '30px') - .append(doc.rank) + .append($("").html(''+doc.rank +' '+symbol + (otherRank === null ? '': otherRank)).attr('title', tip)) .append(' ') .append($did) .append(' ')