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
2c545ca8
Commit
2c545ca8
authored
Feb 09, 2021
by
Yogi
Committed by
David O'Regan
Feb 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix action button alignment for application inside the table in oauth/applications
parent
5216d955
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/doorkeeper/applications/_delete_form.html.haml
app/views/doorkeeper/applications/_delete_form.html.haml
+1
-1
app/views/doorkeeper/applications/index.html.haml
app/views/doorkeeper/applications/index.html.haml
+2
-2
changelogs/unreleased/fix-button-alignment-applications.yml
changelogs/unreleased/fix-button-alignment-applications.yml
+5
-0
No files found.
app/views/doorkeeper/applications/_delete_form.html.haml
View file @
2c545ca8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
=
form_tag
oauth_application_path
(
application
)
do
=
form_tag
oauth_application_path
(
application
)
do
%input
{
:name
=>
"_method"
,
:type
=>
"hidden"
,
:value
=>
"delete"
}
/
%input
{
:name
=>
"_method"
,
:type
=>
"hidden"
,
:value
=>
"delete"
}
/
-
if
defined?
small
-
if
defined?
small
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-
transparen
t"
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
do
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-
defaul
t"
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
do
%span
.sr-only
%span
.sr-only
=
_
(
'Destroy'
)
=
_
(
'Destroy'
)
=
sprite_icon
(
'remove'
)
=
sprite_icon
(
'remove'
)
...
...
app/views/doorkeeper/applications/index.html.haml
View file @
2c545ca8
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
-
application
.
redirect_uri
.
split
.
each
do
|
uri
|
-
application
.
redirect_uri
.
split
.
each
do
|
uri
|
%div
=
uri
%div
=
uri
%td
=
application
.
access_tokens
.
count
%td
=
application
.
access_tokens
.
count
%td
%td
.gl-display-flex
=
link_to
edit_oauth_application_path
(
application
),
class:
"gl-button btn btn-
transparen
t gl-mr-2"
do
=
link_to
edit_oauth_application_path
(
application
),
class:
"gl-button btn btn-
defaul
t gl-mr-2"
do
%span
.sr-only
%span
.sr-only
=
_
(
'Edit'
)
=
_
(
'Edit'
)
=
sprite_icon
(
'pencil'
)
=
sprite_icon
(
'pencil'
)
...
...
changelogs/unreleased/fix-button-alignment-applications.yml
0 → 100644
View file @
2c545ca8
---
title
:
Fix action button alignment for application inside the table in oauth/applications
merge_request
:
52465
author
:
Yogi (@yo)
type
:
fixed
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