mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Let's get serious about linting, folks.
This commit is contained in:
parent
8f43da79b5
commit
27f6d8ad73
26 changed files with 341 additions and 235 deletions
33
app/views/conferences/_program.haml
Normal file
33
app/views/conferences/_program.haml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
%a.smoothscroll{ href: '#program' } Program
|
||||
|
||||
- cache [@confererence, @conference.confirmed_tracks,
|
||||
@conference.confirmed_booths,'#splash#program'] do
|
||||
%section#program
|
||||
.container
|
||||
.row
|
||||
.col-md-12
|
||||
%p.lead.text-center
|
||||
%span.notranslate
|
||||
= conference.title
|
||||
has the most awesome program ever!
|
||||
|
||||
- if conference.highlighted_events.any?
|
||||
= render 'highlights', conference: conference
|
||||
|
||||
- if conference.splashpage.include_tracks
|
||||
- if conference.confirmed_tracks.any?
|
||||
= render 'tracks', conference: conference
|
||||
|
||||
- if conference.splashpage.include_booths
|
||||
- if conference.confirmed_booths.any?
|
||||
= render 'booths', conference: conference
|
||||
|
||||
- if conference.program.try(:schedule_public?)
|
||||
.row
|
||||
.col-md-12
|
||||
%p.cta-button.text-center
|
||||
= link_to(conference_schedule_path(conference.short_title),
|
||||
class: 'btn btn-success btn-lg') do
|
||||
Full Schedule
|
||||
Loading…
Add table
Add a link
Reference in a new issue