mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 20:24:03 +00:00
* Clean up legacy charting imports * Update existing donut and line charts * Create helpers for parsing out existing chart data * Move chart partials to a more common path
31 lines
826 B
Text
31 lines
826 B
Text
.container
|
|
.row
|
|
.col-md-12.page-header
|
|
%h2
|
|
Tickets Sold
|
|
.text-muted
|
|
Tickets sold for the conference
|
|
.row
|
|
.col-md-4
|
|
= render 'donut_chart', title: 'Tickets sold',
|
|
combined_data: @tickets_sold_distribution
|
|
.col-md-4
|
|
= render 'donut_chart', title: 'Tickets turnover',
|
|
combined_data: @tickets_turnover_distribution
|
|
%br
|
|
- if @physical_tickets.any?
|
|
.row
|
|
.col-md-12
|
|
%table.datatable#tickets
|
|
%thead
|
|
%th ID
|
|
%th Type
|
|
%th User
|
|
%th Paid
|
|
%th Actions
|
|
%tbody
|
|
- @physical_tickets.each do |physical_ticket|
|
|
= render "physical_ticket", physical_ticket: physical_ticket,
|
|
conference: @conference
|
|
- else
|
|
%h5 No Tickets sold!
|