0xdb info view: update score layout

This commit is contained in:
rolux 2012-10-05 15:35:40 +02:00
parent 8b21a69c56
commit 6d55536b78

View file

@ -460,8 +460,15 @@ pandora.ui.infoView = function(data) {
var value = data[key] || 0;
$('<div>')
.css({marginBottom: '4px'})
.append(formatKey(key == 'votes' ? 'Mainstream Score' : 'Arthouse Score'), true)
.append(Ox.Theme.formatColorPercent(value, 1, true))
.append(
formatKey(
key == 'votes' ? 'Mainstream Score' : 'Arthouse Score', true
)
)
.append(
Ox.Theme.formatColorPercent(value, 1, true)
.css({textAlign: 'right'})
)
.appendTo($statistics);
});