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
4638e208
Commit
4638e208
authored
Feb 08, 2021
by
Kev
Committed by
Natalia Tepluhina
Feb 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make System OAuth app index table responsive and externalize text
parent
620bf1c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
23 deletions
+47
-23
app/views/admin/applications/index.html.haml
app/views/admin/applications/index.html.haml
+30
-23
changelogs/unreleased/improve-system-oauth-app-layout.yml
changelogs/unreleased/improve-system-oauth-app-layout.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+12
-0
No files found.
app/views/admin/applications/index.html.haml
View file @
4638e208
-
page_title
_
(
"Applications"
)
%h3
.page-title
System OAuth applications
=
_
(
'System OAuth applications'
)
%p
.light
System OAuth applications don't belong to any user and can only be managed by admins
=
_
(
'System OAuth applications don\'t belong to any user and can only be managed by admins'
)
%hr
%p
=
link_to
'New application'
,
new_admin_application_path
,
class:
'gl-button btn btn-success'
%table
.table
%thead
%tr
%th
Name
%th
Callback URL
%th
Clients
%th
Trusted
%th
Confidential
%th
%th
%tbody
.oauth-applications
-
@applications
.
each
do
|
application
|
%tr
{
:id
=>
"application_#{application.id}"
}
%td
=
link_to
application
.
name
,
admin_application_path
(
application
)
%td
=
application
.
redirect_uri
%td
=
@application_counts
[
application
.
id
].
to_i
%td
=
application
.
trusted?
?
'Y'
:
'N'
%td
=
application
.
confidential?
?
'Y'
:
'N'
%td
=
link_to
'Edit'
,
edit_admin_application_path
(
application
),
class:
'gl-button btn btn-link'
%td
=
render
'delete_form'
,
application:
application
%p
=
link_to
_
(
'New application'
),
new_admin_application_path
,
class:
'gl-button btn btn-success'
.table-responsive
%table
.table
%thead
%tr
%th
=
_
(
'Name'
)
%th
=
_
(
'Callback URL'
)
%th
=
_
(
'Clients'
)
%th
=
_
(
'Trusted'
)
%th
=
_
(
'Confidential'
)
%th
%th
%tbody
.oauth-applications
-
@applications
.
each
do
|
application
|
%tr
{
:id
=>
"application_#{application.id}"
}
%td
=
link_to
application
.
name
,
admin_application_path
(
application
)
%td
=
application
.
redirect_uri
%td
=
@application_counts
[
application
.
id
].
to_i
%td
=
application
.
trusted?
?
_
(
'Yes'
):
_
(
'No'
)
%td
=
application
.
confidential?
?
_
(
'Yes'
):
_
(
'No'
)
%td
=
link_to
'Edit'
,
edit_admin_application_path
(
application
),
class:
'gl-button btn btn-link'
%td
=
render
'delete_form'
,
application:
application
=
paginate
@applications
,
theme:
'gitlab'
changelogs/unreleased/improve-system-oauth-app-layout.yml
0 → 100644
View file @
4638e208
---
title
:
Make System OAuth app index table responsive and externalize text
merge_request
:
50979
author
:
Kev @KevSlashNull
type
:
fixed
locale/gitlab.pot
View file @
4638e208
...
...
@@ -19566,6 +19566,9 @@ msgstr ""
msgid "New User"
msgstr ""
msgid "New application"
msgstr ""
msgid "New branch"
msgstr ""
...
...
@@ -28133,6 +28136,12 @@ msgstr ""
msgid "System Info"
msgstr ""
msgid "System OAuth applications"
msgstr ""
msgid "System OAuth applications don't belong to any user and can only be managed by admins"
msgstr ""
msgid "System default (%{default})"
msgstr ""
...
...
@@ -30720,6 +30729,9 @@ msgstr ""
msgid "Troubleshoot and monitor your application with tracing"
msgstr ""
msgid "Trusted"
msgstr ""
msgid "Try again"
msgstr ""
...
...
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