Add a registration link to user menu
This commit is contained in:
parent
134d9aeeb6
commit
62056fc044
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,12 @@
|
||||||
= link_to(edit_user_path(current_user.id)) do
|
= link_to(edit_user_path(current_user.id)) do
|
||||||
%span.fa.fa-user
|
%span.fa.fa-user
|
||||||
Edit Profile
|
Edit Profile
|
||||||
|
- if @conference && ((current_user && @conference.user_registered?(current_user)) || @conference.registration_open?)
|
||||||
|
%li
|
||||||
|
= link_to(conference_conference_registration_path(@conference)) do
|
||||||
|
%span.fa.fa-id-badge
|
||||||
|
= @conference.short_title
|
||||||
|
registration
|
||||||
-if @conference && @conference.program
|
-if @conference && @conference.program
|
||||||
%li
|
%li
|
||||||
= link_to(conference_program_proposals_path(@conference.short_title)) do
|
= link_to(conference_program_proposals_path(@conference.short_title)) do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue