diff --git a/BrainPortal/app/views/tool_configs/_by_resource.erb b/BrainPortal/app/views/tool_configs/_by_resource.erb index 67740af8d..a03fb9ad7 100644 --- a/BrainPortal/app/views/tool_configs/_by_resource.erb +++ b/BrainPortal/app/views/tool_configs/_by_resource.erb @@ -153,17 +153,10 @@ %> <% tool_pb, exec_pb = user_can_access_versus, user_can_access_resource %> <% exec_pb, tool_pb = tool_pb, exec_pb if for_tool %> - - <%= html_tool_tip html_colorize(users_with_access.count, "green") do %> - <% admins = users_with_access.select {|u| u.has_role? :admin_user } %> - <%= "of which #{admins.count} are admins".html_safe %> - <% end %> - user(s) have access, + + <%= html_colorize(users_with_access.count, "green") %> user(s) have access, - <%= html_tool_tip html_colorize users_without_access.count do %> - <%= "#{exec_pb.values.count false} - due Execution Server's project
".html_safe unless exec_pb.values.all? %> - <%= "#{tool_pb.values.count false} - due Tool's project".html_safe unless tool_pb.values.all? %> - <% end %> + <%= users_without_access.count %>
user(s) have no access