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
389c65bd
Commit
389c65bd
authored
Nov 08, 2021
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert credential inventory tabs to pajamas
Changelog: other EE: true
parent
c138caca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
ee/app/views/shared/credentials_inventory/index.html.haml
ee/app/views/shared/credentials_inventory/index.html.haml
+4
-10
No files found.
ee/app/views/shared/credentials_inventory/index.html.haml
View file @
389c65bd
...
@@ -5,17 +5,11 @@
...
@@ -5,17 +5,11 @@
=
sprite_icon
(
'chevron-lg-left'
,
size:
12
)
=
sprite_icon
(
'chevron-lg-left'
,
size:
12
)
.fade-right
.fade-right
=
sprite_icon
(
'chevron-lg-right'
,
size:
12
)
=
sprite_icon
(
'chevron-lg-right'
,
size:
12
)
%ul
.nav-links.nav.nav-tabs.scrolling-tabs
=
gl_tabs_nav
({
class:
'scrolling-tabs nav-links gl-border-0'
})
do
=
nav_link
(
html_options:
{
class:
active_when
(
show_personal_access_tokens?
)
})
do
=
gl_tab_link_to
s_
(
'CredentialsInventory|Personal Access Tokens'
),
credentials_inventory_path
(
filter:
'personal_access_tokens'
),
{
item_active:
active_when
(
show_personal_access_tokens?
),
class:
'gl-border-0!'
}
=
link_to
credentials_inventory_path
(
filter:
'personal_access_tokens'
)
do
=
gl_tab_link_to
s_
(
'CredentialsInventory|SSH Keys'
),
credentials_inventory_path
(
filter:
'ssh_keys'
),
{
item_active:
active_when
(
show_ssh_keys?
),
class:
'gl-border-0!'
}
=
s_
(
'CredentialsInventory|Personal Access Tokens'
)
=
nav_link
(
html_options:
{
class:
active_when
(
show_ssh_keys?
)
})
do
=
link_to
credentials_inventory_path
(
filter:
'ssh_keys'
)
do
=
s_
(
'CredentialsInventory|SSH Keys'
)
-
if
gpg_keys_available?
-
if
gpg_keys_available?
=
nav_link
(
html_options:
{
class:
active_when
(
show_gpg_keys?
)
})
do
=
gl_tab_link_to
s_
(
'CredentialsInventory|GPG Keys'
),
credentials_inventory_path
(
filter:
'gpg_keys'
),
{
item_active:
active_when
(
show_gpg_keys?
),
class:
'gl-border-0!'
}
=
link_to
credentials_inventory_path
(
filter:
'gpg_keys'
)
do
=
s_
(
'CredentialsInventory|GPG Keys'
)
-
if
@credentials
.
empty?
-
if
@credentials
.
empty?
.nothing-here-block.border-top-0
.nothing-here-block.border-top-0
...
...
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