summaryrefslogtreecommitdiff
path: root/app/views/search/show.html.haml
blob: 3fb91428c56e32c356a0a07de7b70c887f7f0aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- @hide_top_links = true
- page_title @search_term
- @hide_breadcrumbs = true

- 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)

.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' }

.gl-mt-3
  = render 'search/form'
- if @search_term
  = render 'search/category'
  = render 'search/results'