add version in system status page

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425311 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-22 17:09:50 +00:00
parent cd3b2b303d
commit 184eed6f91
1 changed files with 3 additions and 2 deletions

View File

@ -794,7 +794,8 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
var mainContent=$("#main-content");
mainContent.html($("#system-status-main").tmpl());
var versionInfo=$.i18n.prop('system-status.header.version.buildNumber')+": "+window.archivaRuntimeInfo.buildNumber
var versionInfo=window.archivaRuntimeInfo.version+" - "
+$.i18n.prop('system-status.header.version.buildNumber')+": "+window.archivaRuntimeInfo.buildNumber
+" - "+$.i18n.prop('system-status.header.version.timestampStr')+": "+window.archivaRuntimeInfo.timestampStr;
mainContent.find("#status_version_info").html(versionInfo);