<% if profile.enterprise? && !profile.enabled? && !profile.blocks.select {|b| b.class == DisabledEnterpriseMessageBlock}.any? %>
<%= environment.message_for_disabled_enterprise %> <% if profile.blocked? && user && user.is_admin?(profile.environment) %>
<%= button :lock, _('Unblock'), {:controller => 'profile', :action => 'unblock'} %>
<% end %>
<% end %>