summaryrefslogtreecommitdiff
path: root/app/views/admin/users/show.html.haml
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-23 09:45:26 +0200
committerMarin Jankovski <marin@gitlab.com>2014-06-23 09:45:26 +0200
commit37425618bc5a15bb58ed6695d4932d309d452cb2 (patch)
treebe97eabfb404aeb181e525a2df07a87ebce907ba /app/views/admin/users/show.html.haml
parent73c1030da1318284495288461210e8d145aa7181 (diff)
downloadgitlab-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.haml2
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: