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
|
@ -6,6 +6,10 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
if (Dashboard.lastSystemInfo) {
|
||||
Dashboard.setPageTitle(Dashboard.lastSystemInfo.ServerName);
|
||||
}
|
||||
|
||||
DashboardPage.newsStartIndex = 0;
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
@ -73,6 +77,7 @@
|
|||
|
||||
ApiClient.getSystemInfo().done(function (systemInfo) {
|
||||
|
||||
Dashboard.setPageTitle(systemInfo.ServerName);
|
||||
Dashboard.updateSystemInfo(systemInfo);
|
||||
|
||||
$('#appVersionNumber', page).html(Globalize.translate('LabelVersionNumber').replace('{0}', systemInfo.Version));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue