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
362e761c
Commit
362e761c
authored
Mar 24, 2021
by
Yogi
Committed by
Kushal Pandya
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to btn-danger for delete button in applications
parent
f205ce09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/shared/doorkeeper/applications/_delete_form.html.haml
...ews/shared/doorkeeper/applications/_delete_form.html.haml
+1
-1
app/views/shared/doorkeeper/applications/_index.html.haml
app/views/shared/doorkeeper/applications/_index.html.haml
+1
-1
changelogs/unreleased/btn-danger-apps.yml
changelogs/unreleased/btn-danger-apps.yml
+5
-0
No files found.
app/views/shared/doorkeeper/applications/_delete_form.html.haml
View file @
362e761c
...
...
@@ -2,7 +2,7 @@
=
form_tag
path
do
%input
{
:name
=>
"_method"
,
:type
=>
"hidden"
,
:value
=>
"delete"
}
-
if
defined?
small
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-d
efault
"
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
do
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-d
anger btn-icon
"
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
do
%span
.sr-only
=
_
(
'Destroy'
)
=
sprite_icon
(
'remove'
)
...
...
app/views/shared/doorkeeper/applications/_index.html.haml
View file @
362e761c
...
...
@@ -43,7 +43,7 @@
%div
=
uri
%td
=
application
.
access_tokens
.
count
%td
.gl-display-flex
=
link_to
edit_application_url
.
call
(
application
),
class:
"gl-button btn btn-default
gl-mr-2
"
do
=
link_to
edit_application_url
.
call
(
application
),
class:
"gl-button btn btn-default
btn-icon gl-mr-3
"
do
%span
.sr-only
=
_
(
'Edit'
)
=
sprite_icon
(
'pencil'
)
...
...
changelogs/unreleased/btn-danger-apps.yml
0 → 100644
View file @
362e761c
---
title
:
Move to btn-danger for delete button in applications
merge_request
:
56088
author
:
Yogi (@yo)
type
:
changed
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