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
4ceb24f0
Commit
4ceb24f0
authored
Dec 08, 2021
by
John Hope
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pajamas helper instead of haml badge
parent
5b91e94c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/views/search/results/_epic.html.haml
ee/app/views/search/results/_epic.html.haml
+2
-2
No files found.
ee/app/views/search/results/_epic.html.haml
View file @
4ceb24f0
%div
{
class:
'search-result-row gl-pb-3! gl-mt-5 gl-mb-0!'
}
%span
.gl-display-flex.gl-align-items-center
-
if
epic
.
closed?
%span
.badge.badge-info.badge-pill.gl-badge.sm
=
_
(
"Closed"
)
=
gl_badge_tag
_
(
'Closed'
),
variant: :info
,
size: :sm
-
else
%span
.badge.badge-success.badge-pill.gl-badge.sm
=
_
(
"Open"
)
=
gl_badge_tag
_
(
'Open'
),
variant: :success
,
size: :sm
=
sprite_icon
(
'eye-slash'
,
css_class:
'gl-text-gray-500 gl-ml-2'
)
if
epic
.
confidential?
=
link_to
group_epic_path
(
epic
.
group
,
epic
),
data:
{
track_action:
'click_text'
,
track_label:
'epic_title'
,
track_property:
'search_result'
},
class:
'gl-w-full'
do
%span
.term.str-truncated.gl-font-weight-bold.gl-ml-2
=
epic
.
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