mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
restore model properties
This commit is contained in:
parent
bab5d2af2a
commit
fd459b0744
7 changed files with 30 additions and 26 deletions
|
@ -32,7 +32,7 @@
|
|||
<div class="detailSectionHeader">${HeaderAvailableServices}</div>
|
||||
<div class="catalog"></div>
|
||||
|
||||
<div class="supporterPromotion syncPromotion" style="display:none;">
|
||||
<div class="staticSupporterPromotion supporterPromotion syncPromotion" style="display:none;">
|
||||
<a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;">
|
||||
<div>
|
||||
${HeaderSyncRequiresSupporterMembership}
|
||||
|
|
|
@ -1446,6 +1446,3 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
padding-left: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.homeTopViews .cardText{
|
||||
}
|
|
@ -14,16 +14,6 @@
|
|||
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a>
|
||||
</div>
|
||||
<div class="dashboardContent">
|
||||
<div class="supporterPromotion" style="display:none;">
|
||||
<a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;">
|
||||
<div>
|
||||
${HeaderSupportTheTeam}
|
||||
</div>
|
||||
<div style="font-weight:normal;font-size:90%;margin-top:5px;">
|
||||
${TextEnjoyBonusFeatures}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="ui-bar-a welcomeMessage" style="display: none; padding: 2em; border-radius: 10px; margin: 2em 0; font-weight: normal; max-width: 800px;">
|
||||
<h1 style="margin-top: 0;" class="tourHeader"></h1>
|
||||
<p>
|
||||
|
@ -141,6 +131,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -24,12 +24,6 @@
|
|||
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
|
||||
if (pluginSecurityInfo.IsMBSupporter) {
|
||||
$('.supporterPromotion', page).hide();
|
||||
} else {
|
||||
$('.supporterPromotion', page).show();
|
||||
}
|
||||
|
||||
DashboardPage.renderSupporterIcon(page, pluginSecurityInfo);
|
||||
});
|
||||
|
||||
|
@ -625,7 +619,7 @@
|
|||
|
||||
return "<img src='css/images/clients/mbc.png' />";
|
||||
}
|
||||
if (clientLowered == "media browser theater") {
|
||||
if (clientLowered == "emby theater") {
|
||||
|
||||
return "<img src='css/images/clients/mb.png' />";
|
||||
}
|
||||
|
@ -1339,3 +1333,25 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
|
|||
});
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
||||
(function () {
|
||||
|
||||
$(document).on('pagebeforeshow', ".type-interior", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
|
||||
if (!$('.staticSupporterPromotion', page).length) {
|
||||
$('.supporterPromotion', page).remove();
|
||||
|
||||
if (!pluginSecurityInfo.IsMBSupporter) {
|
||||
$('.content-primary', page).append('<div class="supporterPromotion"><a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;"><div>' + Globalize.translate('HeaderSupportTheTeam') + '</div><div style="font-weight:normal;font-size:90%;margin-top:5px;">' + Globalize.translate('TextEnjoyBonusFeatures') + '</div></a></div>');
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})();
|
|
@ -165,7 +165,7 @@
|
|||
itemHtml += '<li class="liSchedule" data-day="' + a.DayOfWeek + '" data-start="' + a.StartHour + '" data-end="' + a.EndHour + '">';
|
||||
|
||||
itemHtml += '<a href="#">';
|
||||
itemHtml += '<h3>' + a.DayOfWeek + '</h3>';
|
||||
itemHtml += '<h3>' + Globalize.translate('Option' + a.DayOfWeek) + '</h3>';
|
||||
itemHtml += '<p>' + getDisplayTime(a.StartHour) + ' - ' + getDisplayTime(a.EndHour) + '</p>';
|
||||
itemHtml += '</a>';
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<progress max="100" min="0" style="width:100px;display:none;" class="syncProgress"></progress>
|
||||
</div>
|
||||
<br />
|
||||
<div class="supporterPromotion syncPromotion" style="display:none;">
|
||||
<div class="staticSupporterPromotion supporterPromotion syncPromotion" style="display:none;">
|
||||
<a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;">
|
||||
<div>
|
||||
${HeaderSyncRequiresSupporterMembership}
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<form class="addUserForm">
|
||||
<div>
|
||||
<label for="txtConnectUsername">${LabelConnectGuestUserName}</label>
|
||||
<input type="text" id="txtConnectUsername" value="" placeholder="Username" required="required">
|
||||
<input type="text" id="txtConnectUsername" value="" placeholder="${PlaceholderUsername}" required="required">
|
||||
<div class="fieldDescription">
|
||||
<div>${LabelConnectGuestUserNameHelp}</div>
|
||||
<div style="margin-top: .75em;"><a href="http://emby.media/connect" target="_blank">${ButtonLearnMoreAboutEmbyConnect}</a></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue