diff --git a/app/views/cards/_webhooks.html.erb b/app/views/cards/_webhooks.html.erb index a2c36294c..2bdddaa3d 100644 --- a/app/views/cards/_webhooks.html.erb +++ b/app/views/cards/_webhooks.html.erb @@ -1,8 +1,4 @@ -<%= link_to collection_webhooks_path(collection_id: collection), class: "btn tooltip" do %> - <% if collection.webhooks.any? %> - <%= icon_tag "globe" %> - <% else %> - <%= icon_tag "world" %> - <% end %> - Webhooks for <%= collection.name %> +<%= link_to collection_webhooks_path(collection_id: collection), class: ["btn tooltip", {"btn--reversed": collection.webhooks.any?}] do %> + <%= icon_tag "world" %> + Webhooks <% end %>