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
340533b3
Commit
340533b3
authored
Jan 06, 2022
by
Scott Stern
Committed by
Simon Knox
Jan 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change guard in search_bar.html.haml
parent
9901fcba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+6
-1
No files found.
app/views/shared/issuable/_search_bar.html.haml
View file @
340533b3
...
...
@@ -5,6 +5,11 @@
-
placeholder
=
local_assigns
[
:placeholder
]
||
_
(
'Search or filter results...'
)
-
block_css_class
=
type
!=
:productivity_analytics
?
'row-content-block second-block'
:
''
-
is_epic_board
=
board
&
.
to_type
==
"EpicBoard"
-
if
@group
.
present?
-
ff_resource
=
@group
-
else
-
ff_resource
=
board
&
.
resource_parent
&
.
group
-
if
is_epic_board
-
user_can_admin_list
=
can?
(
current_user
,
:admin_epic_board_list
,
board
.
resource_parent
)
-
elsif
board
...
...
@@ -26,7 +31,7 @@
=
check_box_tag
checkbox_id
,
nil
,
false
,
class:
"check-all-issues left"
-
if
is_epic_board
#js-board-filtered-search
{
data:
{
full_path:
@group
&
.
full_path
}
}
-
elsif
Feature
.
enabled?
(
:issue_boards_filtered_search
,
board
&
.
resource_parent
)
&&
board
-
elsif
Feature
.
enabled?
(
:issue_boards_filtered_search
,
ff_resource
)
&&
board
#js-issue-board-filtered-search
-
else
.issues-other-filters.filtered-search-wrapper.d-flex.flex-column.flex-md-row
...
...
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