mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixed ntop edition in footer
This commit is contained in:
parent
1cfcdf5e4e
commit
c1dabafcb7
2 changed files with 6 additions and 7 deletions
|
|
@ -3113,21 +3113,20 @@ function printntopngRelease(info)
|
|||
print(" Edition</td></tr>\n")
|
||||
end
|
||||
|
||||
function getNtopngRelease()
|
||||
|
||||
if info.oem or info["version.nedge_edition"] then
|
||||
function getNtopngRelease(ntopng_info)
|
||||
if ntopng_info.oem or ntopng_info["version.nedge_edition"] then
|
||||
return ""
|
||||
end
|
||||
|
||||
if(info["version.enterprise_edition"]) or (info["version.nedge_enterprise_edition"]) then
|
||||
if(ntopng_info["version.enterprise_edition"]) or (ntopng_info["version.nedge_enterprise_edition"]) then
|
||||
return "Enterprise"
|
||||
elseif(info["pro.release"]) then
|
||||
elseif(ntopng_info["pro.release"]) then
|
||||
return "Professional"
|
||||
else
|
||||
return "Community"
|
||||
end
|
||||
|
||||
if(info["version.embedded_edition"] == true) then
|
||||
if(ntopng_info["version.embedded_edition"] == true) then
|
||||
return"/Embedded"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue