mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Implements #4938 missing button hover on flow alerts
This commit is contained in:
parent
447b471528
commit
cf3a64d2c9
5 changed files with 8 additions and 7 deletions
|
|
@ -1323,7 +1323,7 @@ function releaseAlert(idx) {
|
|||
var explorer_url = data["column_explorer"];
|
||||
|
||||
if(data["column_drilldown"]) {
|
||||
datatableAddLinkButtonCallback.bind(this)(10, data["column_drilldown"], "<i class='fas fa-search-plus drilldown-icon'></i>");
|
||||
datatableAddLinkButtonCallback.bind(this)(10, data["column_drilldown"], "<i class='fas fa-search-plus drilldown-icon'></i>", "]] print(i18n("show_alerts.expand_action")) print[[");
|
||||
}
|
||||
|
||||
if(explorer_url) {
|
||||
|
|
@ -1332,7 +1332,7 @@ function releaseAlert(idx) {
|
|||
}
|
||||
|
||||
if(]] print(ternary(t["status"] == "engaged", "true", "false")) print[[)
|
||||
datatableAddActionButtonCallback.bind(this)(10, "alert_to_release = "+ row_id +"; $('#release_single_alert').modal('show');", "<i class='fas fa-unlock'></i>");
|
||||
datatableAddActionButtonCallback.bind(this)(10, "alert_to_release = "+ row_id +"; $('#release_single_alert').modal('show');", "<i class='fas fa-unlock'></i>", true, "]] print(i18n("show_alerts.release_alert_action")) print[[");
|
||||
|
||||
if(]] print(ternary(t["status"] ~= "engaged", "true", "false")) print[[) {
|
||||
datatableAddDeleteButtonCallback.bind(this)(10, "delete_alert_id ='" + alert_key + "'; $('#delete_alert_dialog').modal('show');", "<i class='fas fa-trash'></i>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue