Merge branch 'master' into 'master'
Fix sign up link. See merge request spen/seminar!37
This commit is contained in:
commit
4b8dbcedda
|
@ -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