app/views/manage/dashboard/index.html.haml in hackathon_manager-0.13.10 vs app/views/manage/dashboard/index.html.haml in hackathon_manager-0.13.11

- old
+ new

@@ -24,15 +24,24 @@ = area_chart todays_activity_data_manage_dashboard_index_path, colors: [blue, green, red, grey] .col-5 %h5.dashboard-container-title Today's Stats = pie_chart todays_stats_data_manage_dashboard_index_path, colors: [blue, green, red, grey] +- if Questionnaire.where('checked_in_at > 0').any? || Questionnaire.where('boarded_bus_at > 0').any? + .row + .col + %h5.dashboard-container-title Check-in activity + .graph-overlay.double-metrics + %h3= Questionnaire.where('checked_in_at > 0').count + %p total checked in + %h3= Questionnaire.where('boarded_bus_at > 0').count + %p total boarded bus + = area_chart checkin_activity_data_manage_dashboard_index_path, colors: [orange, blue], library: { legend: { enabled: false } } + .row .col %h5.dashboard-container-title Confirmation Activity - .graph-overlay.double-metrics - %h3= Questionnaire.where("checked_in_at != 0").count - %p total checked in + .graph-overlay %h3= Questionnaire.where(acc_status: "rsvp_confirmed").count %p total confirmed = area_chart confirmation_activity_data_manage_dashboard_index_path, colors: [green, red], library: { legend: { enabled: false } } .row