Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qpixel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Answers
Qpixel
Merge requests
!80
Add badge type to user card on hover
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Add badge type to user card on hover
badge-type-on-hover
into
eip-develop
Overview
3
Commits
2
Pipelines
0
Changes
2
All threads resolved!
Show all comments
Merged
Add badge type to user card on hover
Victor Ghiţă
requested to merge
badge-type-on-hover
into
eip-develop
Dec 14, 2023
Overview
3
Commits
2
Pipelines
0
Changes
2
All threads resolved!
Show all comments
Closes
#46 (closed)
.
0
0
Merge request reports
Compare
eip-develop
version 1
b125a899
Dec 14, 2023
eip-develop (base)
and
latest version
latest version
700093ab
2 commits,
Dec 14, 2023
version 1
b125a899
1 commit,
Dec 14, 2023
2 files
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
app/views/badges/_badge.html.erb
+
2
−
1
View file @ 700093ab
Edit in single-file editor
Open in Web IDE
Show comments on this file
Show full file
@@ -3,6 +3,7 @@
<%
end
%>
<%
is_small
||=
false
%>
<%
badge_type
||=
''
%>
<span
class=
"tooltip"
id=
"
<%=
dom_id
badge
%>
"
>
<span
class=
"user-badge
<%=
css_class
if
defined?
(
css_class
)
%>
"
>
@@ -13,7 +14,7 @@
</span>
<span
style=
"white-space: normal;"
class=
"tooltip-text"
>
<%=
is_small
?
"This user
h
as
been
awarded
the
'
#{
badge
.
title
}
' badge."
"This user
w
as awarded
a
#{
badge_type
}
'
#{
badge
.
title
}
' badge."
:
badge
.
description
%>
</span>
</span>
\ No newline at end of file
Loading