Add surveys to proposal todo list

This commit is contained in:
Andrew Kvalheim 2023-03-14 17:00:53 -07:00
parent f8d6283f44
commit 1260786a62
8 changed files with 25 additions and 2 deletions

View file

@ -67,6 +67,11 @@
%td= link_to "#{'Speaker'.pluralize(@event.speakers.count)} must be registered to the conference", admin_conference_registrations_path(@event.program.conference.short_title)
%td{ 'class' => class_for_todo(progress_status['registered']) }
%span{ 'class' => [icon_for_todo(progress_status['registered']), 'fa-lg'] }
- unless progress_status['surveys'].nil?
%tr
%td= link_to 'Respond to surveys', admin_conference_surveys_path(@event.program.conference.short_title)
%td{ 'class' => class_for_todo(progress_status['surveys']) }
%span{ 'class' => [icon_for_todo(progress_status['surveys']), 'fa-lg'] }
%tr
%td
- speakers_count = @event.speakers.count