diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-09-21 22:05:13 +0200 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2015-09-21 22:05:13 +0200 |
commit | 3a4c5986fb9e1cf5511a491ffd2902c4c70a6e05 (patch) | |
tree | 840593a62432b7e67feb35c635ffb63b5b888f78 | |
parent | ac289687a9ce26c5e14f7d2d3d32ae05ae9f7f77 (diff) | |
download | gitlab-ce-3a4c5986fb9e1cf5511a491ffd2902c4c70a6e05.tar.gz |
clarify confirmation text on user deletion.
-rw-r--r-- | app/views/admin/users/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index 5e40d95d1c5..e3698ac1c46 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -97,5 +97,5 @@ - if user.access_locked? = link_to 'Unlock', unlock_admin_user_path(user), method: :put, class: "btn btn-xs btn-success", data: { confirm: 'Are you sure?' } - if user.can_be_removed? - = link_to 'Destroy', [:admin, user], data: { confirm: "USER #{user.name} WILL BE REMOVED! All tickets linked to this user will also be removed! Maybe block the user instead? Are you sure?" }, method: :delete, class: "btn btn-xs btn-remove" + = link_to 'Destroy', [:admin, user], data: { confirm: "USER #{user.name} WILL BE REMOVED! All issues, merge requests and groups linked to this user will also be removed! Maybe block the user instead? Are you sure?" }, method: :delete, class: "btn btn-xs btn-remove" = paginate @users, theme: "gitlab" |