Showing of tracks when there are no tracks in proposals is fixed Closes #1668

This commit is contained in:
namangupta01 2017-08-31 13:43:08 +05:30 committed by Stella Rouzi
parent c317565ec7
commit ec8fbb21d7

View file

@ -2,7 +2,7 @@
- if @program.event_types.any?
You can submit proposals for
= "#{event_types(@conference)}."
- if @program.tracks.any?
- if @program.tracks.confirmed.cfp_active.any?
Proposals should fit in one of the
= "#{pluralize(@program.tracks.confirmed.cfp_active.count, 'track')}:"
= "#{tracks(@conference)}."