diff --git a/openstack_dashboard/dashboards/project/loadbalancers/tables.py b/openstack_dashboard/dashboards/project/loadbalancers/tables.py index f53cbf351b..d9a3c61267 100644 --- a/openstack_dashboard/dashboards/project/loadbalancers/tables.py +++ b/openstack_dashboard/dashboards/project/loadbalancers/tables.py @@ -159,6 +159,7 @@ class AddPMAssociationLink(tables.LinkAction): name = "addassociation" verbose_name = _("Add Health Monitor") url = "horizon:project:loadbalancers:addassociation" + classes = ("ajax-modal", "btn-create",) def allowed(self, request, datum=None): try: @@ -176,7 +177,7 @@ class DeletePMAssociationLink(tables.LinkAction): name = "deleteassociation" verbose_name = _("Delete Health Monitor") url = "horizon:project:loadbalancers:deleteassociation" - classes = ("btn-delete", "btn-danger") + classes = ("ajax-modal", "btn-delete", "btn-danger") def allowed(self, request, datum=None): if datum and not datum['health_monitors']: