<% # 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('venue_management.title') %> <%= t('venue_management_signup.time') %> <%= t('venue_management_signup.place') %> <%= t('venue_management.signup') %>
<%= venue_management.category.title %> <%= ('' + venue_management.title + '').html_safe %> <%= VenueManagementMain.time_range(venue_management.venue_management_start_date, venue_management.venue_management_end_date) %> <%= venue_management.act_place %> <%= sign_up %>
<%= if !venue_management.registration_status.blank? and venue_management.registration_status.include?('C') and venue_management.contribute_start_date <= @time_now and ( venue_management.contribute_end_date.nil? or venue_management.contribute_end_date+1 >= @time_now ) if !session[:venue_management_signup_id].blank? if session[:venue_management_main_id] == venue_management.id ('' + t('venue_management_signup.uploads') + '').html_safe else ('' + t('venue_management_signup.con_login') + '').html_safe end else ('' + t('venue_management_signup.con_login') + '').html_safe end end %>
<%= create_pagination(@total_pages).html_safe if @total_pages > 1 %>