Add links to dependencies listed under versions

This commit is contained in:
Tobi Schäfer 2024-06-02 20:45:27 +02:00
parent 893b8f98a8
commit 81c442d5b0
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
2 changed files with 14 additions and 6 deletions

View file

@ -126,12 +126,12 @@
<% link <% version hash prefix='https://github.com/antville/antville/commit/' %> <% version hash %> %> (<% version date %>)
</dd>
<dt><% gettext "Application Server" %></dt>
<dd>Helma <% param.helma %></dd>
<dd><a href="https://github.com/antville/helma">Helma</a> <% param.helma %></dd>
<dt><% gettext "Scripting Engine" %></dt>
<dd><% param.rhino %></dd>
<dd><a href="https://github.com/mozilla/rhino"><% param.rhino %></a></dd>
<dt><% gettext "Webserver" %></dt>
<dd>Jetty <% param.jetty %></dd>
<dd><a href="https://github.com/jetty/jetty.project">Jetty <% param.jetty %></a></dd>
<dt><% gettext "Servlet Interface" %></dt>
<dd>Javax <% param.servlet %></dd>
<dd><a href="https://docs.oracle.com/javaee/7/api/index.html?javax/servlet/package-summary.html">Javax <% param.servlet %></a></dd>
</dl>
</div>

View file

@ -271,8 +271,16 @@ Root.prototype.health_action = function() {
servlet: Packages.java.lang.Class.forName("javax.servlet.Servlet").package.specificationVersion
};
for (let key of ['activeThreads', 'freeThreads', 'requestCount',
'errorCount', 'xmlrpcCount', 'cacheusage']) {
for (
let key of [
'activeThreads',
'freeThreads',
'requestCount',
'errorCount',
'xmlrpcCount',
'cacheusage'
]
) {
param[key] = formatNumber(app[key]);
}