diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-14 00:29:32 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-14 00:29:32 -0700 |
commit | 30ca451fd4f926998868b9db524e8fa98cd9457d (patch) | |
tree | de4525598596133f87dc922d1961defbcdd60fe1 /app/views/dashboard/groups/index.html.haml | |
parent | dffa2fa9e92e37a664afa2807fd5b01fbbd87ef2 (diff) | |
download | gitlab-ce-30ca451fd4f926998868b9db524e8fa98cd9457d.tar.gz |
Refactor buttons
Diffstat (limited to 'app/views/dashboard/groups/index.html.haml')
-rw-r--r-- | app/views/dashboard/groups/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/groups/index.html.haml b/app/views/dashboard/groups/index.html.haml index f7df5352512..c232644b021 100644 --- a/app/views/dashboard/groups/index.html.haml +++ b/app/views/dashboard/groups/index.html.haml @@ -18,12 +18,12 @@ %li .pull-right - if can?(current_user, :manage_group, group) - = link_to edit_group_path(group), class: "btn-small btn btn-grouped" do + = link_to edit_group_path(group), class: "btn-sm btn btn-grouped" do %i.fa.fa-cogs Settings - if can?(current_user, :destroy, user_group) - = link_to leave_dashboard_group_path(group), data: { confirm: leave_group_message(group.name) }, method: :delete, class: "btn-small btn btn-grouped", title: 'Remove user from group' do + = link_to leave_dashboard_group_path(group), data: { confirm: leave_group_message(group.name) }, method: :delete, class: "btn-sm btn btn-grouped", title: 'Remove user from group' do %i.fa.fa-sign-out Leave |