% # encoding: utf-8 %> <% data = action_data @seminars = data["seminars"] @total_pages = data["total_pages"] @time_now = data["time_now"] %>
<%= t(:category) %> | <%= t('seminar.title') %> | <%= t('seminar_signup.time') %> | <%= t('seminar_signup.place') %> | <%= t('seminar.signup') %> |
---|---|---|---|---|
<%= seminar.category.title %> | <%= ('' + seminar.title + '').html_safe %> | <%= SeminarMain.time_range(seminar.seminar_start_date, seminar.seminar_end_date) %> | <%= seminar.act_place %> |
<%= sign_up %> <%= if !seminar.registration_status.blank? and seminar.registration_status.include?('C') and 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? if session[:seminar_main_id] == seminar.id ('' + t('seminar_signup.uploads') + '').html_safe else ('' + t('seminar_signup.con_login') + '').html_safe end else ('' + t('seminar_signup.con_login') + '').html_safe end end %> |