diff --git a/src/controllers/itemdetailpage.js b/src/controllers/itemdetailpage.js index e46a1d226e..e6e3a5a022 100644 --- a/src/controllers/itemdetailpage.js +++ b/src/controllers/itemdetailpage.js @@ -235,7 +235,23 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "cardBuild var name = itemHelper.getDisplayName(item, { includeParentInfo: !1 }); - html && !parentNameLast ? html += '

' + name + "

" : html = parentNameLast ? '

' + name + "

" + html : '

' + name + "

" + html, container.innerHTML = html, html.length ? container.classList.remove("hide") : container.classList.add("hide") + + if (html && !parentNameLast) { + html += '

' + name + '

'; + } else { + if (parentNameLast) { + html = '

' + name + "

" + html; + } else { + html = '

' + name + "

" + html; + } + } + + if (item.OriginalTitle) { + html += '

' + item.OriginalTitle + '

'; + } + + container.innerHTML = html; + html.length ? container.classList.remove("hide") : container.classList.add("hide") } function setTrailerButtonVisibility(page, item) { diff --git a/src/itemdetails.html b/src/itemdetails.html index 45e4a40dff..0da8254c48 100644 --- a/src/itemdetails.html +++ b/src/itemdetails.html @@ -30,6 +30,10 @@ +
+ +
+