[Web] Improve alias domain table

This commit is contained in:
andryyy committed 2021-05-30 16:07:57 +02:00
1 parent 8a83587800
commit 839e9bd91c
3 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -822,7 +822,7 @@ jQuery(function($){
item.goto = '<span class="label label-success">Learn as ham</span>';
}
if (item.in_primary_domain !== "") {
item.domain = "↳ " + item.domain + " (" + item.in_primary_domain + ")";
item.domain = '<i class="bi bi-info-circle-fill alias-domain-info text-info" data-toggle="tooltip" title="' + lang.target_domain + ': ' + item.in_primary_domain + '"></i> ' + item.domain;
}
});
}
@@ -854,6 +854,7 @@ jQuery(function($){
},
"ready.ft.table": function(e, ft){
table_mailbox_ready(ft, 'alias_table');
$('.alias-domain-info').tooltip();
},
"after.ft.filtering": function(e, ft){
table_mailbox_ready(ft, 'alias_table');