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:
parent
3c745ff362
commit
1509f3805d
14 changed files with 169 additions and 87 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue