mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
#680 - improve name comparisons
This commit is contained in:
parent
ccf1871c08
commit
fda9b3d93d
3 changed files with 11 additions and 17 deletions
|
@ -373,7 +373,7 @@ a.itemTag:hover {
|
||||||
left: .8em;
|
left: .8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemCommunityRating + .userDataIcons {
|
.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
margin-left: 1.25em;
|
margin-left: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -157,6 +157,10 @@
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="detailPageContent">
|
<div class="detailPageContent">
|
||||||
|
|
||||||
|
<div id="childrenCollapsible" class="hide detailSection">
|
||||||
|
<div class="detailSectionHeader"><span id="childrenTitle"></span></div>
|
||||||
|
<div id="childrenContent" class="detailSectionContent"></div>
|
||||||
|
</div>
|
||||||
<div id="detailsSection" class="detailSection hide">
|
<div id="detailsSection" class="detailSection hide">
|
||||||
<div class="detailSectionHeader" style="margin-top: 0;">
|
<div class="detailSectionHeader" style="margin-top: 0;">
|
||||||
Details
|
Details
|
||||||
|
@ -181,10 +185,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="trailersContent" class="detailSectionContent"></div>
|
<div id="trailersContent" class="detailSectionContent"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="childrenCollapsible" class="hide detailSection">
|
|
||||||
<div class="detailSectionHeader"><span id="childrenTitle"></span></div>
|
|
||||||
<div id="childrenContent" class="detailSectionContent"></div>
|
|
||||||
</div>
|
|
||||||
<div id="additionalPartsCollapsible" class="detailSection hide">
|
<div id="additionalPartsCollapsible" class="detailSection hide">
|
||||||
<div class="detailSectionHeader">
|
<div class="detailSectionHeader">
|
||||||
Additional Parts
|
Additional Parts
|
||||||
|
|
|
@ -1511,9 +1511,7 @@
|
||||||
html += '<div class="starRatingValue">';
|
html += '<div class="starRatingValue">';
|
||||||
html += item.CommunityRating.toFixed(1);
|
html += item.CommunityRating.toFixed(1);
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
} else {
|
}
|
||||||
html += '<div style="display:inline-block;margin-left:-1.25em;"></div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.CriticRating != null) {
|
if (item.CriticRating != null) {
|
||||||
|
|
||||||
|
@ -2522,29 +2520,25 @@
|
||||||
html += '</p>';
|
html += '</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += '<p style="margin:1.25em 0;">';
|
html += '<div style="margin:1.25em 0;">';
|
||||||
html += '<span class="itemCommunityRating">';
|
html += '<span class="itemCommunityRating">';
|
||||||
html += LibraryBrowser.getRatingHtml(item, false);
|
html += LibraryBrowser.getRatingHtml(item, false);
|
||||||
html += '</span>';
|
html += '</span>';
|
||||||
|
|
||||||
if (isPortrait) {
|
if (isPortrait) {
|
||||||
html += '<span class="userDataIcons" style="margin-left:0;display:block;margin:1.25em 0;">';
|
html += '<span class="userDataIcons" style="display:block;margin:1.25em 0;">';
|
||||||
html += LibraryBrowser.getUserDataIconsHtml(item);
|
html += LibraryBrowser.getUserDataIconsHtml(item);
|
||||||
html += '</span>';
|
html += '</span>';
|
||||||
} else {
|
} else {
|
||||||
html += '<span class="userDataIcons" style="margin-left:1em;">';
|
html += '<span class="userDataIcons">';
|
||||||
html += LibraryBrowser.getUserDataIconsHtml(item);
|
html += LibraryBrowser.getUserDataIconsHtml(item);
|
||||||
html += '</span>';
|
html += '</span>';
|
||||||
}
|
}
|
||||||
html += '</p>';
|
html += '</div>';
|
||||||
|
|
||||||
//html += '<p class="itemOverlayHtml">';
|
|
||||||
//html += (item.OverviewHtml || item.Overview || '');
|
|
||||||
//html += '</p>';
|
|
||||||
|
|
||||||
html += '<div>';
|
html += '<div>';
|
||||||
|
|
||||||
var buttonMargin = isPortrait || isSquare ? "margin:0 7px 0 0;" : "margin:0 10px 0 0;";
|
var buttonMargin = isPortrait || isSquare ? "margin:0 4px 0 0;" : "margin:0 10px 0 0;";
|
||||||
|
|
||||||
var buttonCount = 0;
|
var buttonCount = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue