Increased size of modal, added description as caption to photos
This commit is contained in:
parent
bea55454b2
commit
3bf54f991a
7 changed files with 22 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<!-- Modal -->
|
||||
%div{ class: "modal fade", id: "gallery", tabindex: "-1", role: "dialog", "aria-labelledby" => "myModalLabel", "aria-hidden"=> "true" }
|
||||
%div{ class: "modal-dialog" }
|
||||
%div{ class: "modal fade", id: "gallery", tabindex: "-1", role: "dialog", "aria-labelledby" => "myLargeModalLabel", "aria-hidden"=> "true" }
|
||||
%div{ class: "modal-dialog modal-lg" }
|
||||
%div{ class: "modal-content" }
|
||||
%div{ class: "modal-body" }
|
||||
%div{ id: "carousel-example-generic", class: "carousel slide", "data-ride" => "carousel" }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
- photos.each_with_index do |photo,index|
|
||||
%div.item{ class: (index==0? 'active' : '') }
|
||||
= image_tag(photo.picture(:banner))
|
||||
- unless photo.description.blank?
|
||||
%div.carousel-caption
|
||||
%p.lead
|
||||
= photo.description
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
.col-md-12.lead
|
||||
%p= @conference.description
|
||||
-unless @conference.photos.blank?
|
||||
= link_to 'Gallery', fetch_gallery_photos_conference_path(@conference.id), class: 'btn btn-primary btn-lg', id: 'gallery-btn', remote: true
|
||||
= link_to 'Gallery', gallery_photos_conference_path(@conference.short_title), class: 'btn btn-primary btn-lg', id: 'gallery-btn', remote: true
|
||||
= render 'gallery'
|
||||
- if @conference.include_program_in_splash?
|
||||
%section{ id: 'program' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue