From 6d55536b789a5ac4c8492c570f4261ac28b5f22c Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 5 Oct 2012 15:35:40 +0200 Subject: [PATCH] 0xdb info view: update score layout --- static/js/pandora/infoView.0xdb.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 8c05d25b..59c2af9e 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -460,8 +460,15 @@ pandora.ui.infoView = function(data) { var value = data[key] || 0; $('
') .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); });