debian-mirror-gitlab/app/views/search/show.html.haml
2020-10-24 23:57:45 +05:30

19 lines
624 B
Plaintext

- @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-sm-flex.align-items-sm-center
%h1.page-title<
= _('Search')
= render_if_exists 'search/form_elasticsearch', attrs: { class: 'ml-sm-auto' }
.gl-mt-3
= render 'search/form'
- if @search_term
= render 'search/category'
= render 'search/results'