From 184eed6f91d6e7601cab3d8d69deeddcc32977f5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 22 Dec 2012 17:09:50 +0000 Subject: [PATCH] add version in system status page git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425311 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/general-admin.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js index 82bb451ea..8b5513494 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js @@ -794,8 +794,9 @@ 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 - +" - "+$.i18n.prop('system-status.header.version.timestampStr')+": "+window.archivaRuntimeInfo.timestampStr; + 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); displayMemoryUsage();