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
3ad871ba
Commit
3ad871ba
authored
Dec 08, 2021
by
Lee Tickett
Committed by
Vitaly Slobodin
Dec 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make issuable search results badges pajamas compliant
parent
f42c2ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/search/results/_issuable.html.haml
app/views/search/results/_issuable.html.haml
+1
-1
No files found.
app/views/search/results/_issuable.html.haml
View file @
3ad871ba
%div
{
class:
'search-result-row gl-display-flex gl-sm-flex-direction-row gl-flex-direction-column gl-align-items-center gl-pb-3! gl-mt-5 gl-mb-0!'
}
.col-sm-9
%span
.gl-display-flex.gl-align-items-center
%span
.badge.badge-pill.gl-badge.sm
{
class:
"badge-#{issuable_state_to_badge_class(issuable)}"
}=
issuable_state_text
(
issuable
)
=
gl_badge_tag
issuable_state_text
(
issuable
),
variant:
issuable_state_to_badge_class
(
issuable
),
size: :sm
=
sprite_icon
(
'eye-slash'
,
css_class:
'gl-text-gray-500 gl-ml-2'
)
if
issuable
.
respond_to?
(
:confidential?
)
&&
issuable
.
confidential?
=
link_to
issuable_path
(
issuable
),
data:
{
track_action:
'click_text'
,
track_label:
"
#{
issuable
.
class
.
name
.
downcase
}
_title"
,
track_property:
'search_result'
},
class:
'gl-w-full'
do
%span
.term.str-truncated.gl-font-weight-bold.gl-ml-2
=
issuable
.
title
...
...
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