Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
This commit is contained in:
parent
0b6550d060
commit
daf1f805bd
71 changed files with 225 additions and 191 deletions
6
app/views/admin/conferences/_doughnut_chart.html.haml
Normal file
6
app/views/admin/conferences/_doughnut_chart.html.haml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
.text-center
|
||||
%h4 #{title}
|
||||
%canvas.doughnut_chart{"data-chart"=>data.to_json}
|
||||
- if data
|
||||
- data.each do |key, value|
|
||||
%span{"style"=>"border-bottom: 3px solid #{value['color']}"} #{key}: #{value['value']}
|
||||
Loading…
Add table
Add a link
Reference in a new issue