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

display server name in dashboard

This commit is contained in:
Luke Pulverenti 2015-01-18 14:53:34 -05:00
parent 3c745ff362
commit 1509f3805d
14 changed files with 169 additions and 87 deletions

View file

@ -4,6 +4,15 @@
function loadPage(page, config, languageOptions) {
if (Dashboard.lastSystemInfo) {
Dashboard.setPageTitle(Dashboard.lastSystemInfo.ServerName);
}
ApiClient.getSystemInfo().done(function (systemInfo) {
Dashboard.setPageTitle(systemInfo.ServerName);
});
$('#txtServerName', page).val(config.ServerName || '');
$('#selectLocalizationLanguage', page).html(languageOptions.map(function (l) {