<% # encoding: utf-8 %> <% data = action_data @venue_managements = data["venue_managements"] @total_pages = data["total_pages"] @time_now = data["time_now"] %> <% @venue_managements.each do |venue_management| if !venue_management.registration_status.blank? and venue_management.signup_start_date <= @time_now and ( venue_management.signup_end_date.nil? or venue_management.signup_end_date+1 >= @time_now ) sign_up = ('' + t('venue_management.signup') + '').html_safe elsif venue_management.registration_status.blank? sign_up = t('venue_management.sign_up_not_open') elsif venue_management.signup_start_date > @time_now sign_up = t('venue_management.sign_up_not_yet') else sign_up = t('venue_management.sign_up_overdue') end %> <% end %>

<%= t('venue_management.venue_management') %>

<%= t(:category) %> <%= t('vm_inviting.type') %> <%= t('venue_management.title') %> <%= t('venue_management.contractor') %> <%= t('venue_management.event_during') %> <%= t('venue_management.signup_during') %>
<%= venue_management.category.title %> <%= venue_management.display_tags %> <%= venue_management.title %> <%= venue_management.display_contractors %> <%= venue_management.display_event_during %> <%= venue_management.display_signup_during %>
<%= create_pagination(@total_pages).html_safe if @total_pages > 1 %>