% # display a summary version of what users have requested and offered %> <% # requires locals :challenge_collection :tag_type :summary_tags :generated_live %>
<%= ts("Last generated at:") %> <%= time_in_zone(Time.now, (challenge_collection.challenge.time_zone || Time.zone.name)) %> <%= ts("(Generated hourly on request while sign-ups are open.)") %>
<% end %> <% if summary_tags.empty? %><%= ts("Tags were not used in this Challenge, so there is no summary to display here.") %>
<% else %><%= ts('Listed by fewest offers and most requests.') %>
| <%= tag_type_label_name(tag_type) %> | <%= ts('Requests') %> | <%= ts('Offers') %> |
|---|---|---|
| <%= tag.name %> | <%= tag.requests.to_i %> | <%= tag.offers.to_i %> |