added actions for user profile
This commit is contained in:
parent
2e048d9472
commit
8a6d661216
|
@ -8,4 +8,18 @@
|
|||
Unfollow
|
||||
- else
|
||||
%button#editprofile.btn.btn-primary.btn-block.profile--follow-btn{type: :button, name: 'user-action', data: { action: :follow, type: type, target: user.screen_name }}
|
||||
Follow
|
||||
Follow
|
||||
- unless user == current_user
|
||||
.btn-group
|
||||
%button.btn.btn-default.btn-block.btn-sm.dropdown-toggle{data: { toggle: :dropdown }, aria: { expanded: :false }}
|
||||
Actions
|
||||
%span.caret
|
||||
%ul.dropdown-menu.dropdown-menu-right
|
||||
%li
|
||||
%a{href: '#', name: 'user-action', data: { action: :block, type: type, target: user.screen_name }}
|
||||
%i.fa.fa-minus-circle
|
||||
Block
|
||||
%li
|
||||
%a{href: '#', name: 'user-action', data: { action: :report, type: type, target: user.screen_name }}
|
||||
%i.fa.fa-exclamation-triangle
|
||||
Report
|
Loading…
Reference in New Issue