diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 59c2af9e..5d7bcf2f 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -389,6 +389,27 @@ pandora.ui.infoView = function(data) { ) .appendTo($text); + data.releasedate && $('
') + .css(css) + .html( + formatKey('Release Date') + Ox.formatDate(data.releasedate, '%A, %B %e, %Y') + ) + .appendTo($text); + + if (data.budget || data.gross || data.profit) { + $div = $('
') + .css(css) + .appendTo($text); + html = []; + ['budget', 'gross', 'profit'].forEach(function(key) { + data[key] && html.push( + formatKey(key == 'profit' && data[key] < 0 ? 'loss' : key) + + Ox.formatCurrency(Math.abs(data[key]), '$') + ); + }); + $div.html(html.join('; ')); + } + if (data.connections) { $div = $('
') .css(css) @@ -420,27 +441,6 @@ pandora.ui.infoView = function(data) { $div.html(html.join('; ')); } - data.releasedate && $('
') - .css(css) - .html( - formatKey('Release Date') + Ox.formatDate(data.releasedate, '%A, %B %e, %Y') - ) - .appendTo($text); - - if (data.budget || data.gross || data.profit) { - $div = $('
') - .css(css) - .appendTo($text); - html = []; - ['budget', 'gross', 'profit'].forEach(function(key) { - data[key] && html.push( - formatKey(key == 'profit' && data[key] < 0 ? 'loss' : key) - + Ox.formatCurrency(Math.abs(data[key]), '$') - ); - }); - $div.html(html.join('; ')); - } - ['reviews', 'links'].forEach(function(key) { data[key] && $('
') .css(css)