Add charts about sold tickets

This commit is contained in:
nasia 2017-04-25 18:22:39 +03:00 committed by Stella Rouzi
parent 41503bb7a0
commit 8cd3326520
3 changed files with 28 additions and 1 deletions

View file

@ -69,6 +69,17 @@
.col-md-4
= render partial: 'todo_list', locals: { conference_progress: @conference_progress,
conference: @conference }
.row#tickets
.col-md-8
=render partial: 'line_chart', locals: { title: 'Tickets sold over time',
name: 'tickets',
conferences: @tickets,
active_conferences: @tickets,
deactive_conferences: [],
y: @tickets_data,
x: @ticket_weeks,
unit: 'weeks' }
%br
.row
.col-md-12#doughnut
%ul.nav.nav-tabs#doughnut_tabs