Added description to conference and program segment to splash

Added tracks to program component

Rebased and updated the new navigation for splash
This commit is contained in:
Gopesh Tulsyan 2014-05-28 14:49:00 +05:30
parent 25a56097c5
commit 1e802bc3c6
3 changed files with 13 additions and 1 deletions

View file

@ -74,7 +74,7 @@ class Conference < ActiveRecord::Base
# Checks if the user is registered to the conference
#
# ====Args
# * +user+ -> The user we check for
# * +user+ -> The user we check for
# ====Returns
# * +nil+ -> If the user doesn't exist
# * +false+ -> If the user is registered

View file

@ -13,3 +13,6 @@
%span You can find the complete schedule in our
%span
= link_to 'Master Schedule', conference_schedule_path(@conference.short_title), target: '_blank'
-if !@conference.tracks.blank?
= render 'tracks'

View file

@ -0,0 +1,9 @@
%div.row
%div.col-md-12
%h2 Tracks
- @conference.tracks.each do |t|
%div.col-md-4
%h4
= t.name
%p
= t.description