<%= javascript_include_tag "camaleon_cms/admin/jquery-sieve" %> <% dom = current_site.the_url.sub(/https?:\/\//, "").split("/").first all_plugins = PluginRoutes.all_plugins.clone.delete_if{|plugin| plugin[:domain].present? && !(plugin[:domain].split(",").include?(current_site.the_slug) || plugin[:domain].split(",").include?(dom)) } %>

<%= t('camaleon_cms.admin.sidebar.plugins') %>

<%= render partial: "plugins_list", locals: { plugins: all_plugins - PluginRoutes.enabled_plugins(current_site) } %>
<%= render partial: "plugins_list", locals: { plugins: PluginRoutes.enabled_plugins(current_site) } %>