2015-04-16 18:34:41 +03:00
|
|
|
- progress_status = event.progress_status
|
|
|
|
|
%ul.list-unstyled
|
2017-10-13 02:39:36 +05:30
|
|
|
- if can? :create, @conference.registrations.new
|
2021-03-23 02:50:39 -07:00
|
|
|
%li{class: class_for_todo(progress_status[:registered])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:registered])}
|
|
|
|
|
- if progress_status[:registered]
|
2017-08-06 01:13:14 +05:30
|
|
|
Speaker(s) registered to the conference
|
|
|
|
|
- else
|
|
|
|
|
= link_to 'Speaker(s) not registered to the conference', new_conference_conference_registration_path(event.program.conference.short_title)
|
2021-03-23 02:50:39 -07:00
|
|
|
%li{class: class_for_todo(progress_status[:biographies])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:biographies])}
|
|
|
|
|
- if progress_status[:biographies]
|
2017-05-09 00:14:05 +03:00
|
|
|
Speakers have filled out their biographies
|
|
|
|
|
- elsif current_user.biography.blank? && event.speakers.include?(current_user)
|
|
|
|
|
= link_to 'Fill out your biography', edit_user_path(current_user)
|
|
|
|
|
- else
|
|
|
|
|
Speakers' biographies missing
|
2021-03-23 02:50:39 -07:00
|
|
|
%li{class: class_for_todo(progress_status[:subtitle])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:subtitle])}
|
2016-03-05 02:54:09 +01:00
|
|
|
= link_to 'Add a subtitle', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
2021-03-23 02:50:39 -07:00
|
|
|
%li{class: class_for_todo(progress_status[:commercials])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:commercials])}
|
2020-01-27 13:40:36 -08:00
|
|
|
= link_to 'Add materials', edit_conference_program_proposal_path(event.program.conference.short_title, event, anchor: 'commercials-content')
|
2021-03-23 02:50:39 -07:00
|
|
|
- unless progress_status[:track].nil?
|
|
|
|
|
%li{class: class_for_todo(progress_status[:track])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:track])}
|
2016-03-18 01:59:05 +05:30
|
|
|
= link_to 'Add a track', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
2021-03-23 02:47:18 -07:00
|
|
|
- unless progress_status[:difficulty_level].nil?
|
2021-03-23 02:50:39 -07:00
|
|
|
%li{class: class_for_todo(progress_status[:difficulty_level])}
|
|
|
|
|
%span{class: icon_for_todo(progress_status[:difficulty_level])}
|
2021-03-23 02:47:18 -07:00
|
|
|
= link_to 'Add a difficulty level', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|