mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes ntopng version visualization in about.lua
This commit is contained in:
parent
6823bb3e86
commit
5969c19d6b
1 changed files with 2 additions and 16 deletions
|
|
@ -93,23 +93,9 @@ else
|
|||
ntopng_git_url = info["version"]
|
||||
end
|
||||
|
||||
print("<tr><th>"..i18n("about.version").."</th><td>"..ntopng_git_url)
|
||||
print("<tr><th>"..i18n("about.version").."</th><td>"..ntopng_git_url.." - ")
|
||||
|
||||
if(info["pro.release"] == false) then
|
||||
print(" - Community")
|
||||
else
|
||||
if(info["version.enterprise_edition"] == true) then
|
||||
print(" - Enterprise")
|
||||
else
|
||||
print(" - Pro Small Business")
|
||||
end
|
||||
end
|
||||
|
||||
if(info["version.embedded_edition"] == true) then
|
||||
print("/Embedded")
|
||||
end
|
||||
|
||||
print(" Edition</td></tr>\n")
|
||||
printntopngRelease(info)
|
||||
|
||||
if((info["OS"] ~= nil) and (info["OS"] ~= "")) then
|
||||
print("<tr><th>"..i18n("about.built_on").."</th><td>"..info["OS"].."</td></tr>\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue