<% limit_reached = my_modules.length == Constants::ATWHO_SEARCH_LIMIT + 1 %>
<% grouped_by_prj_exp(my_modules.limit(Constants::ATWHO_SEARCH_LIMIT)).each do |task_group| %>
<%= task_group[:project_name] %> / <%= task_group[:experiment_name] %>
<% task_group[:tasks].each do |task| %>
  • <%= task.code %> · <%= task.name %> <%= render partial: 'shared/smart_annotation/atwho_control_buttons.html.erb' %>
  • <% end %>
    <% end %> <% if limit_reached %>
    <%= t('atwho.more_results') %>
    <% end %> <% if my_modules.blank? %> <%= render partial: 'shared/smart_annotation/no_results.html.erb', locals: { object_type: 'my_modules' } %> <% end %>
    <%= render partial: 'shared/smart_annotation/footer.html.erb' %>