Happening now is broken

This commit is contained in:
Michael Ball 2020-07-31 10:16:21 -07:00
parent 0c15d6091a
commit 839634e569
2 changed files with 6 additions and 7 deletions

View file

@ -181,14 +181,13 @@ module EventsHelper
if current_user.roles.where(id: conference.roles).any?
# Show Pre-Event links for any memeber of the conference team.
link_to("Join Live Event #{'(Pre-Event)' unless is_now}",
link_to("Join Live Event",
event.url, target: '_blank')
elsif current_user.registered_to_event?(conference)
if is_now
link_to('Join Live Event', event.url, target: '_blank')
else
link_to('Live Event Link Coming Soon', '#')
end
link_to('Join Live Event', event.url, target: '_blank')
# else
# link_to('Live Event Link Coming Soon', '#')
# end
end
end