<% @collection.each do |s| %> <% end %>
<%= _('Software') %> <%= _('Actions') %>
<%= link_to_profile s.short_name, s.identifier, :title => s.name %>
<% if !s.visible? %> <%= button_without_text :'activate-user', _('Activate Software'), {:action => 'activate', :id => s, :q => @q}, :filter => @filter, :confirm => _("Do you want to activate this software?") %> <% else %> <%= button_without_text :'deactivate-user', _('Deactivate software'), {:action => 'deactivate', :id => s, :q => @q,:from_profile => false}, :filter => @filter, :confirm => _("Do you want to deactivate this software?") %> <% end %> <%= button_without_text :'delete', _('Remove'), {:action => :destroy_user, :id => s, :q => @q}, :method => :post, :filter => @filter, :confirm => _("Do you want to remove this software?") %>
<%= pagination_links @collection, {:param_name => 'npage', :page_links => true} %>