debian-mirror-gitlab/app/views/search/_results_status.html.haml
2023-01-13 15:02:22 +05:30

8 lines
375 B
Text

- search_service = local_assigns.fetch(:search_service)
- return unless search_service.show_results_status?
- if Feature.enabled?(:search_page_vertical_nav, current_user)
= render partial: 'search/results_status_vert_nav', locals: { search_service: search_service }
- else
= render partial: 'search/results_status_horiz_nav', locals: { search_service: search_service }