Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/results/_error.html.haml2
-rw-r--r--app/views/search/results/_timeout.html.haml2
-rw-r--r--app/views/search/show.html.haml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/search/results/_error.html.haml b/app/views/search/results/_error.html.haml
index f0d9283c620..33e74b08dde 100644
--- a/app/views/search/results/_error.html.haml
+++ b/app/views/search/results/_error.html.haml
@@ -1,7 +1,7 @@
.gl-display-flex.gl-flex-direction-column.gl-align-items-center
%div
.svg-content.svg-150
- = image_tag 'illustrations/search-timeout-md.svg'
+ = image_tag 'illustrations/empty-state/empty-search-md.svg'
%div
%h4.gl-text-center.gl-font-weight-bold= s_('SearchError|A search query problem has occurred')
%p.gl-text-center= s_('SearchError|To resolve the problem, check the query syntax and try again.')
diff --git a/app/views/search/results/_timeout.html.haml b/app/views/search/results/_timeout.html.haml
index 740e2bedd54..530096ead43 100644
--- a/app/views/search/results/_timeout.html.haml
+++ b/app/views/search/results/_timeout.html.haml
@@ -1,7 +1,7 @@
.gl-display-flex.gl-flex-direction-column.gl-align-items-center
%div
.svg-content.svg-150
- = image_tag 'illustrations/search-timeout-md.svg'
+ = image_tag 'illustrations/empty-state/empty-search-md.svg'
%div
%h4.gl-text-center.gl-font-weight-bold= _('Your search timed out')
%p.gl-text-center= _('To resolve this, try to:')
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index 2fd6e4a5ca5..9c1f4c8643f 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -21,7 +21,7 @@
%h1.page-title.gl-font-size-h-display.gl-mr-5= _('Search')
= render_if_exists 'search/form_elasticsearch', attrs: { class: 'mb-2 mb-sm-0 align-self-center' }
-#js-search-topbar{ data: { "group-initial-json": group_attributes.to_json, "project-initial-json": project_attributes.to_json, "elasticsearch-enabled": @search_service_presenter.advanced_search_enabled?.to_s, "default-branch-name": @project&.default_branch } }
+#js-search-topbar{ data: { "group-initial-json": group_attributes.to_json, "project-initial-json": project_attributes.to_json, "default-branch-name": @project&.default_branch } }
.results.gl-lg-display-flex.gl-mt-0
#js-search-sidebar{ class: search_bar_classes, data: { navigation_json: search_navigation_json, search_type: search_service.search_type } }
- if @search_term