Proposal submitter should be asked to add track only if conf has track

This commit is contained in:
Nishanth Vijayan 2016-03-18 01:59:05 +05:30
parent 10ef898a0d
commit 246bf605ea
4 changed files with 16 additions and 11 deletions

View file

@ -76,7 +76,7 @@
- progress_percentage = event.calculate_progress
.progress
%div{class: "progress-bar #{event_progress_color(progress_percentage)}", style: "width:#{progress_percentage}%;"}
= event.progress_status.reject{ |_key, value| value }.length
= event.progress_status.reject{ |_key, value| value || value.nil? }.length
left
%td.col-md-3{style: "padding:20px 0px 20px 0px;"}