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

added CanSelfRestart

This commit is contained in:
Luke Pulverenti 2013-10-07 10:38:31 -04:00
parent c236b53727
commit d8fdb2f5f8
3 changed files with 18 additions and 5 deletions

View file

@ -344,6 +344,12 @@
} else {
$('#btnUpdateApplication', page).button('enable');
}
if (dashboardInfo.SystemInfo.CanSelfRestart) {
$('.btnRestartContainer', page).removeClass('hide');
} else {
$('.btnRestartContainer', page).addClass('hide');
}
DashboardPage.renderApplicationUpdateInfo(dashboardInfo);
DashboardPage.renderPluginUpdateInfo(dashboardInfo);