Added description to conference and program segment to splash
removed id from program partial
This commit is contained in:
parent
f825599433
commit
b3d719829e
6 changed files with 28 additions and 6 deletions
15
app/views/conference/_program.html.haml
Normal file
15
app/views/conference/_program.html.haml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
%a{ href: '#program' } Program
|
||||
|
||||
%div.container.text-center
|
||||
%div.row
|
||||
%div.col-md-12
|
||||
%h1 Program
|
||||
- if !@conference.description.blank?
|
||||
%p
|
||||
= @conference.description
|
||||
- if @conference.call_for_papers and @conference.call_for_papers.schedule_public
|
||||
%span You can find the complete schedule in our
|
||||
%span
|
||||
= link_to 'Master Schedule', conference_schedule_path(@conference.short_title), target: '_blank'
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
= content_for :brand do
|
||||
= link_to @conference.title, conference_url(@conference.short_title), class: 'navbar-brand'
|
||||
= render :partial => "home/conference_details", :locals => {:conference => @conference}
|
||||
%div#program
|
||||
= render 'program'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue