diff --git a/DnsServerCore/www/js/apps.js b/DnsServerCore/www/js/apps.js index 098d09cf..35418972 100644 --- a/DnsServerCore/www/js/apps.js +++ b/DnsServerCore/www/js/apps.js @@ -33,13 +33,14 @@ function refreshApps() { for (var i = 0; i < apps.length; i++) { var id = Math.floor(Math.random() * 10000); var name = apps[i].name; + var version = apps[i].version; var detailsTable = ""; for (var j = 0; j < apps[i].details.length; j++) { detailsTable += ""; + (apps[i].details[j].recordDataTemplate == null ? "" : "
" + htmlEncode(apps[i].details[j].recordDataTemplate) + "
") + ""; } if (apps[i].details.length == 0) @@ -47,7 +48,7 @@ function refreshApps() { detailsTable += "
Class PathDescriptionRecord Data Template
" + htmlEncode(apps[i].details[j].classPath) + "" + htmlEncode(apps[i].details[j].description) + "" + - (apps[i].details[j].dataTemplate == null ? "" : "
" + htmlEncode(apps[i].details[j].dataTemplate) + "
") + "
" - tableHtmlRows += "" + htmlEncode(name) + ""; + tableHtmlRows += "" + htmlEncode(name) + "
Version " + htmlEncode(version) + ""; tableHtmlRows += "" + detailsTable + ""; tableHtmlRows += ""; tableHtmlRows += "";