% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @venue_management = data["venue_management"] @venue_management_signup = data["venue_management_signup"] @time_now = data["time_now"] %> <% if @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? %> <%= t('venue_management_signup.logout') %>
<%= t('venue_management_signup.file_name') %> | <%= t('venue_management_signup.file_note') %> | <%= t('venue_management_signup.files') %> | <%= t(:action) %> |
---|---|---|---|
<%= venue_management_signup_contribute.title %> | <%= venue_management_signup_contribute.description.to_s.html_safe %> | <%= link_to File.basename(venue_management_signup_contribute.file.path), venue_management_signup_contribute.file.url, {:target => '_blank', :title => Nokogiri::HTML(venue_management_signup_contribute.description).text} if venue_management_signup_contribute.file.file %> | <%= link_to t(:edit), OrbitHelper.url_to_show(@venue_management.to_param) + '?method=edit_file&con_no=' + venue_management_signup_contribute.id, :class => 'btn btn-primary' %> |