diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-23 09:45:26 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-23 09:45:26 +0200 |
commit | 37425618bc5a15bb58ed6695d4932d309d452cb2 (patch) | |
tree | be97eabfb404aeb181e525a2df07a87ebce907ba /app/views/admin/users/show.html.haml | |
parent | 73c1030da1318284495288461210e8d145aa7181 (diff) | |
download | gitlab-ce-37425618bc5a15bb58ed6695d4932d309d452cb2.tar.gz |
Add option for admin to remove users secondary emails.
Diffstat (limited to 'app/views/admin/users/show.html.haml')
-rw-r--r-- | app/views/admin/users/show.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml index a255c64fc27..0afae987a39 100644 --- a/app/views/admin/users/show.html.haml +++ b/app/views/admin/users/show.html.haml @@ -44,6 +44,8 @@ %li %span.light Secondary email: %strong= email.email + = link_to remove_email_admin_user_path(@user, email), data: { confirm: "Are you sure you want to remove #{email.email}?" }, method: :delete, class: "btn-tiny btn btn-remove pull-right", title: 'Remove secondary email' do + %i.icon-remove %li %span.light Can create groups: |