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
08e0e2c0
Commit
08e0e2c0
authored
Sep 27, 2021
by
Zack Cuddy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Global Search - Upvote Tooltip Alignment
Fixes misalignment of the tooltip on the Upvotes icon Changelog: fixed
parent
5eaaf70a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/views/search/results/_issuable.html.haml
app/views/search/results/_issuable.html.haml
+4
-3
No files found.
app/views/search/results/_issuable.html.haml
View file @
08e0e2c0
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
=
highlight_and_truncate_issuable
(
issuable
,
@search_term
,
@search_highlight
)
=
highlight_and_truncate_issuable
(
issuable
,
@search_term
,
@search_highlight
)
.col-sm-3.gl-mt-3.gl-sm-mt-0.gl-text-right
.col-sm-3.gl-mt-3.gl-sm-mt-0.gl-text-right
-
if
issuable
.
respond_to?
(
:upvotes_count
)
&&
issuable
.
upvotes_count
>
0
-
if
issuable
.
respond_to?
(
:upvotes_count
)
&&
issuable
.
upvotes_count
>
0
%li
.issuable-upvotes.gl-list-style-none.has-tooltip
{
title:
_
(
'Upvotes'
)
}
%li
.issuable-upvotes.gl-list-style-none
%span
.has-tooltip
{
title:
_
(
'Upvotes'
)
}
=
sprite_icon
(
'thumb-up'
,
css_class:
"gl-vertical-align-middle"
)
=
sprite_icon
(
'thumb-up'
,
css_class:
"gl-vertical-align-middle"
)
=
issuable
.
upvotes_count
=
issuable
.
upvotes_count
%span
.gl-text-gray-500
=
sprintf
(
s_
(
'updated %{time_ago}'
),
{
time_ago:
time_ago_with_tooltip
(
issuable
.
updated_at
,
placement:
'bottom'
)
}).
html_safe
%span
.gl-text-gray-500
=
sprintf
(
s_
(
'updated %{time_ago}'
),
{
time_ago:
time_ago_with_tooltip
(
issuable
.
updated_at
,
placement:
'bottom'
)
}).
html_safe
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