forked from spen/seminar
Fix sign up link.
This commit is contained in:
parent
ec0ff5e153
commit
bd5d34197f
|
@ -169,7 +169,7 @@ class SeminarsController < ApplicationController
|
|||
params = OrbitHelper.params
|
||||
seminar = SeminarMain.find_by(uid: params[:uid])
|
||||
if !seminar.registration_status.blank? && seminar.signup_start_date <= time_now && ( seminar.signup_end_date.nil? || seminar.signup_end_date+1 >= time_now )
|
||||
sign_up = ('<a href="'+ prefix_url + '" target="_blank">' + t('seminar.signup') + '</a>').html_safe
|
||||
sign_up = ('<a href="'+ prefix_url + '/home/registration" target="_blank">' + t('seminar.signup') + '</a>').html_safe
|
||||
elsif seminar.registration_status.blank?
|
||||
sign_up = t('seminar.sign_up_not_open')
|
||||
elsif seminar.signup_start_date > time_now
|
||||
|
|
Loading…
Reference in New Issue