mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
fixed broken link to the host pools
This commit is contained in:
parent
c6cf8e418e
commit
849e6b1acb
2 changed files with 7 additions and 6 deletions
|
|
@ -955,15 +955,15 @@ function graph_utils.printPoolChangeDropdown(ifId, pool_id, have_nedge)
|
|||
|
||||
output[#output + 1] = graph_utils.poolDropdown(ifId, pool_id)
|
||||
|
||||
local edit_pools_link = ternary(have_nedge, "/lua/pro/nedge/admin/nf_list_users.lua", "/lua/if_stats.lua?page=pools#create")
|
||||
local edit_pools_link = ternary(have_nedge, "/lua/pro/nedge/admin/nf_list_users.lua", "/lua/admin/manage_pools.lua?page=host")
|
||||
|
||||
output[#output + 1] = [[
|
||||
</select>
|
||||
<A HREF="]] .. ntop.getHttpPrefix() .. edit_pools_link .. [["><i class="fas fa-sm fa-cog" aria-hidden="true" title="]]
|
||||
..i18n(ternary(have_nedge, "nedge.edit_users", "host_pools.edit_host_pools"))
|
||||
</select>
|
||||
<a href="]] .. ntop.getHttpPrefix() .. edit_pools_link .. [["><i class="fas ]].. ternary(have_nedge, "fa-edit", "fa-plus") ..[[" aria-hidden="true" title="]]
|
||||
..i18n(ternary(have_nedge, "nedge.edit_users", "host_pools.new_host_pool"))
|
||||
.. [["></i> ]]
|
||||
.. i18n(ternary(have_nedge, "nedge.edit_users", "host_pools.edit_host_pools"))
|
||||
.. [[</A>
|
||||
.. i18n(ternary(have_nedge, "nedge.edit_users", "host_pools.new_host_pool"))
|
||||
.. [[</a>
|
||||
</tr>]]
|
||||
|
||||
print(table.concat(output, ''))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue