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

split out parental controls into a separate edit page

This commit is contained in:
Luke Pulverenti 2013-12-26 10:40:38 -05:00
parent c8cd49ffe7
commit c27d378e34
13 changed files with 234 additions and 123 deletions

View file

@ -185,9 +185,9 @@
Dashboard.getCurrentUser().done(function (loggedInUser) {
if (loggedInUser.Configuration.IsAdministrator) {
$('.lnkMediaLibrary', page).show().prev().removeClass('ui-last-child');
$('#lnkParentalControl', page).show();
} else {
$('.lnkMediaLibrary', page).hide().prev().addClass('ui-last-child');
$('#lnkParentalControl', page).hide();
}
});