Show the individual User schedule

Show the current user favourites events for both schedule and all events.

Unsed css removed.
This commit is contained in:
Ana 2016-08-13 02:26:02 +02:00 committed by Ana María Martínez Gómez
parent 9154f1883d
commit f54df5922e
8 changed files with 32 additions and 31 deletions

View file

@ -2,6 +2,6 @@
/ Nav tabs
%ul.nav.nav-tabs{ role: "tablist" }
%li{ class: "schedule #{ 'active' if active == 'schedule' }", role: "presentation" }
= link_to('Schedule', conference_schedule_path(@conference.short_title))
= link_to('Schedule', conference_schedule_path(@conference.short_title, favourites: @favourites))
%li{ class: "program #{ 'active' if active == 'program' }", role: "presentation" }
= link_to('All events', events_conference_schedule_path(@conference.short_title))
= link_to('All events', events_conference_schedule_path(@conference.short_title, favourites: @favourites))