forked from 0x2620/pandora
0xdb info view: update score layout
This commit is contained in:
parent
8b21a69c56
commit
6d55536b78
1 changed files with 9 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue