use Ox.formatColorPercent
This commit is contained in:
parent
af9a038c19
commit
8b21a69c56
1 changed files with 1 additions and 5 deletions
|
@ -461,11 +461,7 @@ pandora.ui.infoView = function(data) {
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({marginBottom: '4px'})
|
.css({marginBottom: '4px'})
|
||||||
.append(formatKey(key == 'votes' ? 'Mainstream Score' : 'Arthouse Score'), true)
|
.append(formatKey(key == 'votes' ? 'Mainstream Score' : 'Arthouse Score'), true)
|
||||||
.append(
|
.append(Ox.Theme.formatColorPercent(value, 1, true))
|
||||||
Ox.Theme.formatColor(Math.sqrt(value) * 12, 'hue')
|
|
||||||
.css({textAlign: 'right'})
|
|
||||||
.html(Ox.formatNumber(value, 1) + '%')
|
|
||||||
)
|
|
||||||
.appendTo($statistics);
|
.appendTo($statistics);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue