diff --git a/plugins/solr/views/search/_facets.html.erb b/plugins/solr/views/search/_facets.html.erb index de029e9..d78839a 100644 --- a/plugins/solr/views/search/_facets.html.erb +++ b/plugins/solr/views/search/_facets.html.erb @@ -1,10 +1,4 @@ -<% if logged_in? %> - <% button_bar do %> - <%# FIXME shouldn't the user create the community in the current environment instead of going to its home environment? %> - <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community', :profile => user.identifier)) if @asset == :communities %> - <%= button(:add, __('New enterprise'), {:controller => 'enterprise_registration'}) if @asset == :enterprises && environment.enabled?('enterprise_registration') %> - <% end %> -<% end %> <% if !@empty_query %> <%= facets_menu(@asset, @facets) %> <% end %> + -- libgit2 0.21.2