<%= ts("You can't generate matches while sign-up is still open. After you have closed sign-ups in Challenge Settings, you will be able to generate potential matches here.") %>
<% elsif @collection.signups.count < 2 %><%= ts("You need at least two people to sign up before you can make assignments.") %>
<% elsif @in_progress %> <%= render "in_progress"%> <% elsif @assignment_in_progress %><%= ts("We're now in the process of generating assignments. This should take less time than potential matching.") %>
<% elsif @collection.potential_matches.empty? %><%= ts("No potential matches yet!") %>
<% if !@settings || @settings.no_match_required? %> <%= render "no_match_required" %> <% end %> <% if @invalid_signups %> <%= render "invalid_signups" %> <% end %> <% else %> <% # we have potential matches! %> <%= render "potential_matches/potential_matches" %> <% end %>