mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Added original (native) title
This commit is contained in:
parent
a640781d4e
commit
1a9432b642
2 changed files with 21 additions and 1 deletions
|
@ -235,7 +235,23 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "cardBuild
|
|||
var name = itemHelper.getDisplayName(item, {
|
||||
includeParentInfo: !1
|
||||
});
|
||||
html && !parentNameLast ? html += '<h3 class="itemName" style="margin: .25em 0 .5em;">' + name + "</h3>" : html = parentNameLast ? '<h1 class="itemName" style="margin: .1em 0 .25em;">' + name + "</h1>" + html : '<h1 class="itemName" style="margin: .1em 0 .5em;">' + name + "</h1>" + html, container.innerHTML = html, html.length ? container.classList.remove("hide") : container.classList.add("hide")
|
||||
|
||||
if (html && !parentNameLast) {
|
||||
html += '<h3 class="itemName" style="margin: .25em 0 .5em;">' + name + '</h3>';
|
||||
} else {
|
||||
if (parentNameLast) {
|
||||
html = '<h1 class="itemName" style="margin: .1em 0 .25em;">' + name + "</h1>" + html;
|
||||
} else {
|
||||
html = '<h1 class="itemName" style="margin: .1em 0 .5em;">' + name + "</h1>" + html;
|
||||
}
|
||||
}
|
||||
|
||||
if (item.OriginalTitle) {
|
||||
html += '<h3 class="itemName" style="margin: .25em 0 .5em;">' + item.OriginalTitle + '</h3>';
|
||||
}
|
||||
|
||||
container.innerHTML = html;
|
||||
html.length ? container.classList.remove("hide") : container.classList.add("hide")
|
||||
}
|
||||
|
||||
function setTrailerButtonVisibility(page, item) {
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="itemMiscInfo nativeName hide">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="itemMiscInfo itemMiscInfo-primary" style="margin: .7em 0;font-size:92%;">
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue