add '%' to rating and votes values on 0xDB info page

This commit is contained in:
rolux 2012-03-08 12:43:26 +00:00
parent 7761d85632
commit 4b086a9c0e

View file

@ -380,7 +380,7 @@ pandora.ui.infoView = function(data) {
html = [];
['rating', 'votes'].forEach(function(key) {
data[key] && html.push(
formatKey(key) + Ox.formatNumber(data[key], key == 'rating' ? 0 : 2)
formatKey(key) + Ox.formatNumber(data[key], key == 'rating' ? 0 : 2) + '%'
);
});
$div.html(html.join('; '));