% # encoding: utf-8 %> <% data = action_data @seminars = data["seminars"] @total_pages = data["total_pages"] @time_now = data["time_now"] %> <% begin %>
<%= t(:category) %> | <%= t('seminar.title') %> | <%= t('seminar_signup.time') %> | <%= t('seminar_signup.place') %> | <%= t('seminar.signup') %> |
---|---|---|---|---|
<%= seminar.category.title %> | <% if (seminar.enable_custom_template rescue false) %> <%= ('' + seminar.title + '').html_safe %> <% else %> <%= ('' + seminar.title + '').html_safe %> <% end %> | <%= 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 rescue false) and ( seminar.contribute_end_date.nil? or (seminar.contribute_end_date+1 >= @time_now rescue false) ) 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 %> |