2021-02-22 17:27:13 +05:30
|
|
|
- search_bar_classes = 'search-sidebar gl-display-flex gl-flex-direction-column gl-mr-4'
|
2022-11-25 23:54:43 +05:30
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
= render_if_exists 'shared/promotions/promote_advanced_search'
|
2023-01-13 00:05:48 +05:30
|
|
|
- if Feature.enabled?(:search_page_vertical_nav, current_user)
|
2022-11-25 23:54:43 +05:30
|
|
|
.results.gl-md-display-flex.gl-mt-0
|
2023-03-17 16:20:25 +05:30
|
|
|
#js-search-sidebar{ class: search_bar_classes, data: { navigation_json: search_navigation_json } }
|
2022-11-25 23:54:43 +05:30
|
|
|
.gl-w-full.gl-flex-grow-1.gl-overflow-x-hidden
|
2023-03-17 16:20:25 +05:30
|
|
|
= render partial: 'search/results_status' unless @search_objects.to_a.empty?
|
2022-11-25 23:54:43 +05:30
|
|
|
= render partial: 'search/results_list'
|
|
|
|
- else
|
2023-03-17 16:20:25 +05:30
|
|
|
= render partial: 'search/results_status' unless @search_objects.to_a.empty?
|
2021-02-22 17:27:13 +05:30
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
.results.gl-md-display-flex.gl-mt-3
|
|
|
|
- if %w[issues merge_requests].include?(@scope)
|
2023-03-17 16:20:25 +05:30
|
|
|
#js-search-sidebar{ class: search_bar_classes, data: { navigation_json: search_navigation_json } }
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
.gl-w-full.gl-flex-grow-1.gl-overflow-x-hidden
|
|
|
|
= render partial: 'search/results_list'
|