Speaker is ask to register only when registration_period is set
This commit is contained in:
parent
09941c76c3
commit
01abbfecc4
1 changed files with 3 additions and 1 deletions
|
|
@ -49,6 +49,7 @@
|
||||||
%br
|
%br
|
||||||
It will also be more likely that visitors find your proposal interesting enough to attend.
|
It will also be more likely that visitors find your proposal interesting enough to attend.
|
||||||
|
|
||||||
|
- if Conference.where(short_title: params[:conference_id]).first.registration_period
|
||||||
%p
|
%p
|
||||||
%strong
|
%strong
|
||||||
Why do I need to register to the conference?
|
Why do I need to register to the conference?
|
||||||
|
|
@ -73,6 +74,7 @@
|
||||||
= link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger'
|
= link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger'
|
||||||
|
|
||||||
%td.col-md-2{style: "padding:20px 8px 20px 8px;"}
|
%td.col-md-2{style: "padding:20px 8px 20px 8px;"}
|
||||||
|
- if Conference.where(short_title: params[:conference_id]).first.registration_period
|
||||||
= link_to 'Complete your proposal', 'javascript: void(0)', "type"=>"button", "data-trigger"=>"focus", "data-toggle"=>"popover", "title"=>"Your todo list", "data-content"=>"#{render partial: 'tooltip', locals: { event: event} }"
|
= link_to 'Complete your proposal', 'javascript: void(0)', "type"=>"button", "data-trigger"=>"focus", "data-toggle"=>"popover", "title"=>"Your todo list", "data-content"=>"#{render partial: 'tooltip', locals: { event: event} }"
|
||||||
|
|
||||||
- progress_percentage = event.calculate_progress
|
- progress_percentage = event.calculate_progress
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue