% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @seminar = data["seminar"] @seminar_signup = data["seminar_signup"] @time_now = data["time_now"] %> <% if @seminar.contribute_start_date <= @time_now and ( @seminar.contribute_end_date.nil? or @seminar.contribute_end_date+1 >= @time_now ) %> <% if !session[:seminar_signup_id].blank? %> <%= t('seminar_signup.logout') %>
<%= t('seminar_signup.file_name') %> | <%= t('seminar_signup.file_note') %> | <%= t('seminar_signup.files') %> | <%= t(:action) %> |
---|---|---|---|
<%= seminar_signup_contribute.title %> | <%= seminar_signup_contribute.description.to_s.html_safe %> | <%= link_to File.basename(seminar_signup_contribute.file.path), seminar_signup_contribute.file.url, {:target => '_blank', :title => Nokogiri::HTML(seminar_signup_contribute.description).text} if seminar_signup_contribute.file.file %> | <%= link_to t(:edit), OrbitHelper.url_to_show(@seminar.to_param) + '?method=edit_file&con_no=' + seminar_signup_contribute.id, :class => 'btn btn-primary' %> |