Commit 5fcb25d9 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '30783-move-advanced-search-message-out-of-search-bar' into 'master'

Move 'Advanced search' message to title

See merge request gitlab-org/gitlab!18349
parents 6069739e 1d8e9ae8
......@@ -18,4 +18,3 @@
= render 'filter'
.d-flex-center.flex-column.flex-lg-row
= button_tag _("Search"), class: "btn btn-success btn-search form-control mt-lg-0 ml-lg-1 align-self-end"
= render_if_exists 'search/form_elasticsearch'
......@@ -2,9 +2,10 @@
- page_title @search_term
- @hide_breadcrumbs = true
.page-title-holder.d-flex.align-items-center
.page-title-holder.d-sm-flex.align-items-sm-center
%h1.page-title<
= _('Search')
= render_if_exists 'search/form_elasticsearch', attrs: { class: 'ml-sm-auto' }
.prepend-top-default
= render 'search/form'
......
- if search_service.use_elasticsearch?
.form-text.text-muted.mt-lg-0.ml-lg-2
.form-text.text-muted{ **local_assigns.fetch(:attrs, {}) }
= link_to _('Advanced search functionality'), help_page_path('user/search/advanced_search_syntax.md'), target: '_blank'
= _('is enabled.')
---
title: Move 'Advanced search' message to search page title
merge_request: 18349
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment