15 lines
582 B
Text
15 lines
582 B
Text
.menu-centered
|
|
ul.menu.icon-top
|
|
li class=('active' if action_name=='profile')
|
|
= link_to my_profile_path
|
|
= fa_icon 'user-o 2x', text: 'Myself'
|
|
// Add link if user has uploaded screenshots
|
|
- if @current_users_screenshots and @current_users_screenshots.any?
|
|
li class=('active' if controller_name=='my' and action_name=='uploads')
|
|
= link_to my_uploads_path
|
|
= fa_icon 'image 2x', text: 'My uploads'
|
|
' My uploads
|
|
|
|
li
|
|
= link_to destroy_user_session_path, method: :delete
|
|
= fa_icon 'lock 2x', text: 'Logout'
|