mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
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:
parent
25a56097c5
commit
1e802bc3c6
3 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
9
app/views/conference/_tracks.html.haml
Normal file
9
app/views/conference/_tracks.html.haml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue