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="detailSectionHeader">${HeaderAvailableServices}</div>
|
||||||
<div class="catalog"></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;">
|
<a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;">
|
||||||
<div>
|
<div>
|
||||||
${HeaderSyncRequiresSupporterMembership}
|
${HeaderSyncRequiresSupporterMembership}
|
||||||
|
|
|
@ -1445,7 +1445,4 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
.smallDetailImageContainer {
|
.smallDetailImageContainer {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.homeTopViews .cardText{
|
|
||||||
}
|
}
|
|
@ -14,16 +14,6 @@
|
||||||
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a>
|
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="dashboardContent">
|
<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;">
|
<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>
|
<h1 style="margin-top: 0;" class="tourHeader"></h1>
|
||||||
<p>
|
<p>
|
||||||
|
@ -141,6 +131,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,12 +24,6 @@
|
||||||
|
|
||||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||||
|
|
||||||
if (pluginSecurityInfo.IsMBSupporter) {
|
|
||||||
$('.supporterPromotion', page).hide();
|
|
||||||
} else {
|
|
||||||
$('.supporterPromotion', page).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
DashboardPage.renderSupporterIcon(page, pluginSecurityInfo);
|
DashboardPage.renderSupporterIcon(page, pluginSecurityInfo);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -625,7 +619,7 @@
|
||||||
|
|
||||||
return "<img src='css/images/clients/mbc.png' />";
|
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' />";
|
return "<img src='css/images/clients/mb.png' />";
|
||||||
}
|
}
|
||||||
|
@ -1288,7 +1282,7 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
|
||||||
$('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTourToSeeWhatsNew'));
|
$('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTourToSeeWhatsNew'));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$('.tourHeader', elem).html(Globalize.translate('HeaderWelcomeToProjectServerDashboard'));
|
$('.tourHeader', elem).html(Globalize.translate('HeaderWelcomeToProjectServerDashboard'));
|
||||||
$('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTour'));
|
$('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTour'));
|
||||||
}
|
}
|
||||||
|
@ -1338,4 +1332,26 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery, document, window);
|
})(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 += '<li class="liSchedule" data-day="' + a.DayOfWeek + '" data-start="' + a.StartHour + '" data-end="' + a.EndHour + '">';
|
||||||
|
|
||||||
itemHtml += '<a href="#">';
|
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 += '<p>' + getDisplayTime(a.StartHour) + ' - ' + getDisplayTime(a.EndHour) + '</p>';
|
||||||
itemHtml += '</a>';
|
itemHtml += '</a>';
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<progress max="100" min="0" style="width:100px;display:none;" class="syncProgress"></progress>
|
<progress max="100" min="0" style="width:100px;display:none;" class="syncProgress"></progress>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<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;">
|
<a class="btn btnActionAccent" href="supporter.html" style="font-size:14px;">
|
||||||
<div>
|
<div>
|
||||||
${HeaderSyncRequiresSupporterMembership}
|
${HeaderSyncRequiresSupporterMembership}
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
<form class="addUserForm">
|
<form class="addUserForm">
|
||||||
<div>
|
<div>
|
||||||
<label for="txtConnectUsername">${LabelConnectGuestUserName}</label>
|
<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 class="fieldDescription">
|
||||||
<div>${LabelConnectGuestUserNameHelp}</div>
|
<div>${LabelConnectGuestUserNameHelp}</div>
|
||||||
<div style="margin-top: .75em;"><a href="http://emby.media/connect" target="_blank">${ButtonLearnMoreAboutEmbyConnect}</a></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