1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add sync settings page

This commit is contained in:
Luke Pulverenti 2015-07-29 22:35:11 -04:00
parent 6b91120cb9
commit b43195c9aa
8 changed files with 119 additions and 30 deletions

View file

@ -8,4 +8,11 @@
$('.lnkLanguagePreferences', page).attr('href', 'mypreferenceslanguages.html?userId=' + userId);
$('.lnkHomeScreenPreferences', page).attr('href', 'mypreferenceshome.html?userId=' + userId);
$('.lnkMyProfile', page).attr('href', 'myprofile.html?userId=' + userId);
$('.lnkSync', page).attr('href', 'mysyncsettings.html?userId=' + userId);
if (AppInfo.supportsSyncPathSetting) {
page.querySelector('.lnkSync').classList.remove('hide');
} else {
page.querySelector('.lnkSync').classList.add('hide');
}
});