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 {
...
@@ -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
{
.edit-user
{
svg
{
svg
{
fill
:
$gl-text-color-secondary
;
fill
:
$gl-text-color-secondary
;
...
...
app/views/shared/_email_with_badge.html.haml
View file @
56132291
-
css_classes
=
%w(badge gl-badge)
-
variant
=
verified
?
:success
:
:danger
-
css_classes
<<
(
verified
?
'badge-success'
:
'badge-danger'
)
-
text
=
verified
?
_
(
'Verified'
)
:
_
(
'Unverified'
)
-
text
=
verified
?
_
(
'Verified'
)
:
_
(
'Unverified'
)
.email-badge
=
email
.email-badge-email
=
email
=
gl_badge_tag
text
,
{
variant:
variant
},
{
class:
'gl-ml-3'
}
%div
{
class:
css_classes
}
=
text
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