mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
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
|
||||
%strong
|
||||
Why do I need to register to the conference?
|
||||
|
|
@ -73,7 +74,8 @@
|
|||
= 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;"}
|
||||
= 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} }"
|
||||
- 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} }"
|
||||
|
||||
- progress_percentage = event.calculate_progress
|
||||
.progress
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue