Another round of splash design
* Add map to splash * Reverse venue<->conference relation * Split venue address into fields * Don't go through venue for lodgings anymore
This commit is contained in:
parent
30e8ab856c
commit
cb227a0afc
55 changed files with 717 additions and 548 deletions
|
|
@ -1,21 +1,25 @@
|
|||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h1
|
||||
%h2
|
||||
Support
|
||||
=@conference.short_title
|
||||
%p.lead
|
||||
To support our event you can purchase tickets
|
||||
.row
|
||||
- @conference.tickets.each do |ticket|
|
||||
%div{ class: (@conference.tickets.count <= 2 ? "col-md-#{12/@conference.tickets.count}" : "col-md-4") }
|
||||
- if ticket.title.present?
|
||||
%h4.text-center
|
||||
=ticket.title
|
||||
- if ticket.description.present?
|
||||
= markdown(ticket.description)
|
||||
.text-center
|
||||
.btn-group
|
||||
= link_to(conference_tickets_path(@conference.short_title), class: 'btn btn-success') do
|
||||
Buy Ticket
|
||||
= "#{humanized_money_with_symbol ticket.price}"
|
||||
To support our event you can purchase these tickets
|
||||
- @conference.tickets.each_slice(4) do |slice|
|
||||
.row.row-centered
|
||||
- slice.each do |ticket|
|
||||
.col-md-3.col-centered.col-top
|
||||
.thumbnail
|
||||
%p.text-center
|
||||
%i.fa.fa-ticket.fa-5x
|
||||
.caption
|
||||
%h3.text-center
|
||||
= ticket.title
|
||||
-if ticket.description.present?
|
||||
= markdown(ticket.description)
|
||||
%p.text-center
|
||||
= link_to(conference_tickets_path(@conference.short_title), class: 'btn btn-success') do
|
||||
Buy Ticket
|
||||
= humanized_money_with_symbol ticket.price
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue