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:
Ana 2016-08-18 14:02:08 +02:00
parent 4450202d8d
commit 47c9b1b1d0
2 changed files with 4 additions and 2 deletions

View file

@ -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