Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2441e477
Commit
2441e477
authored
Nov 19, 2020
by
sfang97
Committed by
serenafang
Dec 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reject request button deletes user now
parent
2ae76872
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+1
-5
No files found.
app/views/admin/users/show.html.haml
View file @
2441e477
...
...
@@ -178,11 +178,7 @@
.card-body
=
render
partial:
'admin/users/user_reject_effects'
%br
%button
.delete-user-button.btn.gl-button.btn-danger
{
data:
{
'gl-modal-action'
:
'delete'
,
delete_user_url:
admin_user_path
(
@user
,
hard_delete:
true
),
block_user_url:
block_admin_user_path
(
@user
),
username:
sanitize_name
(
@user
.
name
)
}
}
=
s_
(
'AdminUsers|Reject request'
)
=
link_to
'Reject request'
,
admin_user_path
(
@user
,
hard_delete:
true
),
method: :delete
,
class:
"btn gl-button delete-user-button btn-danger"
,
data:
{
confirm:
s_
(
'AdminUsers|Are you sure?'
)
}
-
else
.card.border-info
.card-header.gl-bg-blue-500.gl-text-white
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment