Added simple moderate feature in My page
This commit is contained in:
parent
953cd056aa
commit
ce7198b713
5 changed files with 39 additions and 9 deletions
|
|
@ -3,6 +3,9 @@
|
|||
li class=('active' if action_name=='profile')
|
||||
= link_to my_profile_path
|
||||
= fa_icon 'user-o 2x', text: 'Myself'
|
||||
li class=('active' if action_name=='moderate_list')
|
||||
= link_to moderate_list_path
|
||||
= fa_icon 'check 2x', text: 'Moderate'
|
||||
// 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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue