From b9f28003c5ae70bf25e859e06c8e6f78ad34b421 Mon Sep 17 00:00:00 2001 From: rlx Date: Wed, 12 Sep 2018 20:01:56 +0200 Subject: [PATCH] move original title --- static/js/infoView.cms.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/static/js/infoView.cms.js b/static/js/infoView.cms.js index a0b006d..663b0fd 100644 --- a/static/js/infoView.cms.js +++ b/static/js/infoView.cms.js @@ -211,7 +211,6 @@ pandora.ui.infoView = function(data) { $links, - $statistics = $('
') .css({ position: 'absolute', @@ -300,7 +299,7 @@ pandora.ui.infoView = function(data) { // Groups ------------------------------------------------------------------ - renderGroup(['alternativeTitles']); + renderGroup(['originalTitle', 'alternativeTitles']); renderGroup(['type', 'framework', 'style', 'version']); @@ -580,10 +579,7 @@ pandora.ui.infoView = function(data) { + formatLight(match[2]) + title.substr(match[0].length); } - return title + ( - data.originalTitle && data.originalTitle != title && data.originalTitle != 'untitled' - ? ' ' + formatLight('(' + data.originalTitle + ')') : '' - ); + return title; } function formatValue(key, value) {