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
5a1e00c0
Commit
5a1e00c0
authored
Apr 13, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable recent search on issue boards
Closes #30919
parent
d7a52716
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+8
-7
No files found.
app/views/shared/issuable/_search_bar.html.haml
View file @
5a1e00c0
...
...
@@ -12,13 +12,14 @@
class:
"check_all_issues left"
.issues-other-filters.filtered-search-wrapper
.filtered-search-box
=
dropdown_tag
(
content_tag
(
:i
,
''
,
class:
'fa fa-history'
),
options:
{
wrapper_class:
"filtered-search-history-dropdown-wrapper"
,
toggle_class:
"filtered-search-history-dropdown-toggle-button"
,
dropdown_class:
"filtered-search-history-dropdown"
,
content_class:
"filtered-search-history-dropdown-content"
,
title:
"Recent searches"
})
do
.js-filtered-search-history-dropdown
-
if
type
!=
:boards_modal
&&
type
!=
:boards
=
dropdown_tag
(
content_tag
(
:i
,
''
,
class:
'fa fa-history'
),
options:
{
wrapper_class:
"filtered-search-history-dropdown-wrapper"
,
toggle_class:
"filtered-search-history-dropdown-toggle-button"
,
dropdown_class:
"filtered-search-history-dropdown"
,
content_class:
"filtered-search-history-dropdown-content"
,
title:
"Recent searches"
})
do
.js-filtered-search-history-dropdown
.filtered-search-box-input-container
.scroll-container
%ul
.tokens-container.list-unstyled
...
...
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