mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue