mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Conditional rendering for gallery button in the splash
This commit is contained in:
parent
81c538d82d
commit
bea55454b2
1 changed files with 3 additions and 2 deletions
|
|
@ -17,8 +17,9 @@
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.col-md-12.lead
|
.col-md-12.lead
|
||||||
%p= @conference.description
|
%p= @conference.description
|
||||||
= link_to 'Gallery', fetch_gallery_photos_conference_path(@conference.id), class: 'btn btn-primary btn-lg', id: 'gallery-btn', remote: true
|
-unless @conference.photos.blank?
|
||||||
= render 'gallery'
|
= link_to 'Gallery', fetch_gallery_photos_conference_path(@conference.id), class: 'btn btn-primary btn-lg', id: 'gallery-btn', remote: true
|
||||||
|
= render 'gallery'
|
||||||
- if @conference.include_program_in_splash?
|
- if @conference.include_program_in_splash?
|
||||||
%section{ id: 'program' }
|
%section{ id: 'program' }
|
||||||
.pad
|
.pad
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue