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
e989d5b7
Commit
e989d5b7
authored
Jan 05, 2022
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update credentials gpg badge to match pajamas
- use glBadge helper method Changelog: changed EE: true
parent
1b49113d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ee/app/views/shared/credentials_inventory/gpg_keys/_gpg_key.html.haml
.../shared/credentials_inventory/gpg_keys/_gpg_key.html.haml
+2
-4
No files found.
ee/app/views/shared/credentials_inventory/gpg_keys/_gpg_key.html.haml
View file @
e989d5b7
-
verified
=
gpg_key
.
verified?
-
verified_css_classes
=
%w(badge gl-badge)
-
verified_css_classes
<<
(
verified
?
'badge-success'
:
'badge-danger'
)
-
variant
=
verified
?
:success
:
:danger
-
verified_text
=
verified
?
_
(
'Verified'
)
:
_
(
'Unverified'
)
.gl-responsive-table-row
{
role:
'row'
,
data:
{
qa_selector:
'credentials_gpg_key_row_content'
}
}
...
...
@@ -19,5 +18,4 @@
.table-mobile-header
{
role:
'rowheader'
}
=
_
(
'Status'
)
.table-mobile-content
%div
{
class:
verified_css_classes
}
=
verified_text
=
gl_badge_tag
verified_text
,
variant:
variant
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