mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 04:34:03 +00:00
* get rid of unnecessary slice() * center up small groups of elements * consistent text use FIXME: extract out strings * consistent date strings * simplified views for easier theming
25 lines
806 B
Text
25 lines
806 B
Text
= content_for :splash_nav do
|
|
%li
|
|
%a.smoothscroll{ href: '#tickets' } Tickets
|
|
|
|
- cache [@conference, @conference.tickets, '#splash#tickets'] do
|
|
%section#tickets
|
|
.container
|
|
.row
|
|
.col-md-12.text-center
|
|
%h2
|
|
Support
|
|
=@conference.title
|
|
.row.row-centered
|
|
- @conference.tickets.each do |ticket|
|
|
.col-md-3.col-sm-3.col-centered.col-top
|
|
%h3.text-center
|
|
= ticket.title
|
|
%h3.text-center
|
|
%i.fa.fa-ticket.fa-3x
|
|
= markdown(ticket.description)
|
|
%p.text-center
|
|
= link_to conference_tickets_path(@conference.short_title),
|
|
class: 'btn btn-success' do
|
|
Get Ticket
|
|
= humanized_money_with_symbol ticket.price
|