mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
Fold booths into the schedule section of splashpage
This commit is contained in:
parent
92927a4f88
commit
394448dc36
3 changed files with 7 additions and 10 deletions
|
|
@ -1,7 +1,3 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
%a.smoothscroll{ href: '#booths' } Booths
|
||||
|
||||
- cache [@conference.confirmed_booths, '#splash#booths'] do
|
||||
%section#booths
|
||||
.container
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
=link_to('#program', class: 'smoothscroll') do
|
||||
Program
|
||||
%a.smoothscroll{ href: '#program' } Program
|
||||
|
||||
- cache [@confererence, @conference.confirmed_tracks, '#splash#program'] do
|
||||
- cache [@confererence, @conference.confirmed_tracks,
|
||||
@conference.confirmed_booths,'#splash#schedule'] do
|
||||
%section#program
|
||||
.container
|
||||
.row
|
||||
|
|
@ -55,3 +55,6 @@
|
|||
%h5.text-center
|
||||
= markdown truncate(event.abstract, length: 500, separator: ' ')
|
||||
= link_to "Read More", conference_program_proposal_path(@conference.short_title, event)
|
||||
|
||||
- if @conference.splashpage.include_booths && @conference.confirmed_booths.any?
|
||||
= render 'booths'
|
||||
|
|
|
|||
|
|
@ -20,15 +20,13 @@
|
|||
- if @conference.splashpage.include_tickets && @conference.tickets.any? && @conference.pending?
|
||||
= render 'tickets'
|
||||
|
||||
// calls for content - or - program
|
||||
// calls for content, or program
|
||||
- if @conference.splashpage.include_cfp && @conference.call_for_events.try(:open?)
|
||||
= render 'call_for_paper'
|
||||
- if @conference.splashpage.include_cfp && @conference.call_for_tracks.try(:open?)
|
||||
= render 'call_for_tracks'
|
||||
- if @conference.splashpage.include_program
|
||||
= render 'schedule_splashpage'
|
||||
- if @conference.splashpage.include_booths && @conference.confirmed_booths.any?
|
||||
= render 'booths'
|
||||
|
||||
// geo
|
||||
- if @conference.splashpage.include_venue && @conference.venue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue