mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
re-enable sync
This commit is contained in:
parent
94a2f820c4
commit
3105920c99
3 changed files with 8 additions and 8 deletions
|
@ -760,10 +760,10 @@ var Dashboard = {
|
||||||
name: Globalize.translate('TabPlayback'),
|
name: Globalize.translate('TabPlayback'),
|
||||||
href: "playbackconfiguration.html",
|
href: "playbackconfiguration.html",
|
||||||
selected: page.hasClass('playbackConfigurationPage')
|
selected: page.hasClass('playbackConfigurationPage')
|
||||||
//}, {
|
}, {
|
||||||
// name: Globalize.translate('TabSync'),
|
name: Globalize.translate('TabSync'),
|
||||||
// href: "syncactivity.html",
|
href: "syncactivity.html",
|
||||||
// selected: page.hasClass('syncConfigurationPage')
|
selected: page.hasClass('syncConfigurationPage')
|
||||||
}, {
|
}, {
|
||||||
divider: true,
|
divider: true,
|
||||||
name: Globalize.translate('TabAutoOrganize'),
|
name: Globalize.translate('TabAutoOrganize'),
|
||||||
|
|
|
@ -43,10 +43,10 @@
|
||||||
return $(".radioDonationType:checked", page).val();
|
return $(".radioDonationType:checked", page).val();
|
||||||
}
|
}
|
||||||
|
|
||||||
var lifeTimeAmount = 30;
|
var lifeTimeAmount = 40;
|
||||||
var dailyAmount = 1;
|
var dailyAmount = 1;
|
||||||
var monthlyAmount = 4;
|
var monthlyAmount = 4;
|
||||||
var yearlyAmount = 20;
|
var yearlyAmount = 28;
|
||||||
function getDonationAmount(page) {
|
function getDonationAmount(page) {
|
||||||
|
|
||||||
var type = getDonationType(page);
|
var type = getDonationType(page);
|
||||||
|
|
|
@ -203,7 +203,7 @@
|
||||||
|
|
||||||
function isAvailable(item, user) {
|
function isAvailable(item, user) {
|
||||||
|
|
||||||
return false;
|
//return false;
|
||||||
return item.SupportsSync;
|
return item.SupportsSync;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
Dashboard.getCurrentUser().done(function (user) {
|
Dashboard.getCurrentUser().done(function (user) {
|
||||||
|
|
||||||
if (user.Policy.EnableSync) {
|
if (user.Policy.EnableSync) {
|
||||||
$('.categorySyncButton', page).hide();
|
$('.categorySyncButton', page).show();
|
||||||
} else {
|
} else {
|
||||||
$('.categorySyncButton', page).hide();
|
$('.categorySyncButton', page).hide();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue