Add a registration link to user menu

This commit is contained in:
James Mason 2018-03-27 16:40:24 -07:00 committed by Ana María Martínez Gómez
parent 134d9aeeb6
commit 62056fc044

View file

@ -19,6 +19,12 @@
= link_to(edit_user_path(current_user.id)) do
%span.fa.fa-user
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
%li
= link_to(conference_program_proposals_path(@conference.short_title)) do