Show all events instead of the schedule
Show all events instead od the schedule if there are less than 2 rooms.
This commit is contained in:
parent
4450202d8d
commit
47c9b1b1d0
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
.container#program
|
||||
-if @events_schedules.any?
|
||||
-if @events_schedules.any? && @several_rooms
|
||||
= render partial: 'schedule_tabs', locals: { active: 'program' }
|
||||
|
||||
%h1.text-center
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue