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

@ -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));