Commit 8e9e0547e28b0a2763dbaab4d4c204be5a2cc4d0
1 parent
79536115
Exists in
master
and in
22 other branches
Remove unused button bar
Showing
1 changed file
with
1 additions
and
7 deletions
Show diff stats
plugins/solr/views/search/_facets.html.erb
| 1 | -<% if logged_in? %> | |
| 2 | - <% button_bar do %> | |
| 3 | - <%# FIXME shouldn't the user create the community in the current environment instead of going to its home environment? %> | |
| 4 | - <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community', :profile => user.identifier)) if @asset == :communities %> | |
| 5 | - <%= button(:add, __('New enterprise'), {:controller => 'enterprise_registration'}) if @asset == :enterprises && environment.enabled?('enterprise_registration') %> | |
| 6 | - <% end %> | |
| 7 | -<% end %> | |
| 8 | 1 | <% if !@empty_query %> |
| 9 | 2 | <%= facets_menu(@asset, @facets) %> |
| 10 | 3 | <% end %> |
| 4 | + | ... | ... |