[feat]Add vertical schedule tab in Schedule

This commit is contained in:
Jimmy 2021-04-26 10:41:54 +08:00
parent adb6eb8526
commit 4f2abd7e25
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
3 changed files with 11 additions and 27 deletions

View file

@ -7,3 +7,5 @@
= link_to('Happening Now', happening_now_conference_schedule_path(@conference.short_title))
%li{ class: "schedule #{ 'active' if active == 'schedule' }", role: "presentation" }
= link_to('Schedule', conference_schedule_path(@conference.short_title))
%li{ class: "vertical_schedule #{ 'active' if active == 'vertical_schedule' }", role: "presentation" }
= link_to('Vertical Schedule', vertical_schedule_conference_schedule_path(@conference.short_title))

View file

@ -0,0 +1,6 @@
.container#program
= render 'schedule_tabs', active: 'vertical_schedule'
%h1.text-center
Vertical Schedule for
= @conference.title