mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
c5ebc780c6
commit
e1c437ff51
10 changed files with 117 additions and 119 deletions
|
|
@ -164,11 +164,7 @@ function custom_column_utils.printCustomColumnDropdown(base_url, page_params)
|
|||
local key = lg[1]
|
||||
local label = lg[2]
|
||||
|
||||
if custom_column == label then
|
||||
goto continue
|
||||
end
|
||||
|
||||
print[[<li><a class="dropdown-item" href="]] custom_column_params["custom_column"] = key; print(getPageUrl(base_url, custom_column_params)); print[[">]] print(label) print[[</a></li>]]
|
||||
print[[<li><a class="dropdown-item ]] print(custom_column == label and 'active' or '') print[[" href="]] custom_column_params["custom_column"] = key; print(getPageUrl(base_url, custom_column_params)); print[[">]] print(label) print[[</a></li>]]
|
||||
|
||||
::continue::
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue