Happening now is broken
This commit is contained in:
parent
0c15d6091a
commit
839634e569
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue