Permalink
Browse files

add: helma version to health page

  • Loading branch information...
p3k committed Dec 17, 2016
1 parent 1228186 commit 97d2813df299784b8b40db6692fd350a30aedbc7
Showing with 5 additions and 2 deletions.
  1. +3 −1 code/Root/$Root.skin
  2. +2 −1 code/Root/Root.js
@@ -66,7 +66,7 @@
<h1><% response.title %></h1>
<div class='uk-panel uk-panel-header'>
<h3 class='uk-panel-title'><% gettext Status %></h3>
<% site.skin Root#status %>
<p><% site.skin Root#status %></p>
</div>
<div class='uk-panel uk-panel-header'>
<h3 class='uk-panel-title'><% gettext Details %></h3>
@@ -118,5 +118,7 @@
<dd>
<% link <% version hash prefix='https://github.com/antville/antville/commit/' %> <% version hash %> %> (<% version date | format date %>)
</dd>
<dt><% gettext 'Helma Version' %></dt>
<dd><% param.helma %></dd>
</dl>
</div>
@@ -251,7 +251,8 @@ Root.prototype.health_action = function() {
totalMemory: formatNumber(totalMemory),
usedMemory: formatNumber(totalMemory - freeMemory),
sessions: formatNumber(app.countSessions()),
cacheSize: formatNumber(getProperty('cacheSize'))
cacheSize: formatNumber(getProperty('cacheSize')),
helma: Packages.helma.main.Server.getServer().version
};
for each (key in ['activeThreads', 'freeThreads', 'requestCount',

0 comments on commit 97d2813

Please sign in to comment.