diff --git a/app/views/user/_actions.html.haml b/app/views/user/_actions.html.haml index 730c1e1d..cc1269ab 100644 --- a/app/views/user/_actions.html.haml +++ b/app/views/user/_actions.html.haml @@ -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 \ No newline at end of file + 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 \ No newline at end of file