Schedule height fits a 600px screen and the schedule is hiden if there is only one room
This commit is contained in:
parent
82c2c400b6
commit
028d430885
8 changed files with 74 additions and 98 deletions
|
|
@ -81,16 +81,6 @@ class Conference < ActiveRecord::Base
|
|||
result
|
||||
end
|
||||
|
||||
##
|
||||
# Check if there is any event in the program scheduled.
|
||||
#
|
||||
# ====Returns
|
||||
# * +false+ -> If there aren't schedules events
|
||||
# * +true+ -> If there are schedules events
|
||||
def scheduled?
|
||||
self.program.events.where.not(start_time: nil).any?
|
||||
end
|
||||
|
||||
##
|
||||
# Checks if the user is registered to the conference
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue