mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
28 lines
832 B
Text
28 lines
832 B
Text
.row-fluid
|
|
.span12
|
|
%h3
|
|
Non-free Tickets (#{@tickets})
|
|
.row-fluid
|
|
.span5
|
|
- if @supporter_levels.count > 0
|
|
%table.table.table-bordered.table-striped
|
|
%thead
|
|
%th Support Level
|
|
%th #
|
|
%th %
|
|
- @supporter_levels.each do |level|
|
|
- reg_count = level.supporter_registrations.where(conference_id: @conference).count
|
|
- if reg_count > 0
|
|
%tr
|
|
%td= level.title
|
|
%td
|
|
= reg_count
|
|
%td
|
|
- if @registered and @registered > 0
|
|
= "#{reg_count * 100 / @registered}% of registered"
|
|
- if @attendees and @attendees > 0
|
|
%br
|
|
= "#{reg_count * 100 / @attendees}% of attendees"
|
|
- else
|
|
%p
|
|
No tickets sold yet
|