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'
|
2022-11-25 23:54:43 +05:30
|
|
|
- if Feature.enabled?(:search_page_vertical_nav, current_user) && %w[issues merge_requests].include?(@scope)
|
|
|
|
.results.gl-md-display-flex.gl-mt-0
|
|
|
|
#js-search-sidebar{ class: search_bar_classes, data: { navigation: search_navigation_json } }
|
|
|
|
.gl-w-full.gl-flex-grow-1.gl-overflow-x-hidden
|
|
|
|
= render partial: 'search/results_status', locals: { search_service: @search_service } unless @search_objects.to_a.empty?
|
|
|
|
= render partial: 'search/results_list'
|
|
|
|
|
|
|
|
- else
|
|
|
|
= render partial: 'search/results_status', locals: { search_service: @search_service } 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)
|
|
|
|
#js-search-sidebar{ class: search_bar_classes, data: { navigation: 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'
|