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
56132291
Commit
56132291
authored
Dec 08, 2021
by
Lee Tickett
Committed by
Phil Hughes
Dec 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make badges in email_with_badge pajamas compliant
parent
36253cf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+0
-10
app/views/shared/_email_with_badge.html.haml
app/views/shared/_email_with_badge.html.haml
+3
-6
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
56132291
...
...
@@ -329,16 +329,6 @@ table.u2f-registrations {
}
}
.email-badge
{
display
:
inline
;
margin-right
:
$gl-padding
/
2
;
.email-badge-email
{
display
:
inline
;
margin-right
:
$gl-padding
/
4
;
}
}
.edit-user
{
svg
{
fill
:
$gl-text-color-secondary
;
...
...
app/views/shared/_email_with_badge.html.haml
View file @
56132291
-
css_classes
=
%w(badge gl-badge)
-
css_classes
<<
(
verified
?
'badge-success'
:
'badge-danger'
)
-
variant
=
verified
?
:success
:
:danger
-
text
=
verified
?
_
(
'Verified'
)
:
_
(
'Unverified'
)
.email-badge
.email-badge-email
=
email
%div
{
class:
css_classes
}
=
text
=
email
=
gl_badge_tag
text
,
{
variant:
variant
},
{
class:
'gl-ml-3'
}
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