%unless @noti_group_list.blank?%>
Notification Name | Notification Type | Webhook Name | Webhook Endpoints | <% if can? :manage, NotificationGroup %>Actions | <%end%>
---|---|---|---|---|
<%= group.name %> | <%= group.notification_type.try(:camelcase) %> | <% group.webhook_endpoints.each do |wbhk| %> <%= wbhk.name %> <% end -%> | <% group.webhook_endpoints.each do |wbhk| %> <%= wbhk.url %> <% end -%> | <% if can? :manage,NotificationGroup-%><%= link_to 'Edit', notification_group_alerts_path(:notification_group_id => group.id), :class => "label label-info" %> <%= link_to 'Destroy', delete_notification_group_alerts_path(:notification_group_id => group.id), method: :delete, data: { confirm: 'Are you sure you want to delete?' },:class=>"label label-danger" %> | <% end -%>