2017-09-10 17:25:29 +05:30
|
|
|
- @hide_top_links = true
|
2015-09-11 14:41:01 +05:30
|
|
|
- page_title @search_term
|
2019-10-12 21:52:04 +05:30
|
|
|
- @hide_breadcrumbs = true
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
- if @search_results
|
|
|
|
- page_description(_("%{count} %{scope} for term '%{term}'") % { count: @search_results.formatted_count(@scope), scope: @scope, term: @search_term })
|
|
|
|
- page_card_attributes("Namespace" => @group&.full_path, "Project" => @project&.full_path)
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
.page-title-holder.d-flex.flex-wrap.justify-content-between
|
|
|
|
%h1.page-title.mr-3= _('Search')
|
|
|
|
= render_if_exists 'search/form_elasticsearch', attrs: { class: 'mb-2 mb-sm-0 align-self-center' }
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.gl-mt-3
|
2016-01-19 16:12:03 +05:30
|
|
|
= render 'search/form'
|
2015-09-11 14:41:01 +05:30
|
|
|
- if @search_term
|
|
|
|
= render 'search/category'
|
|
|
|
= render 'search/results'
|