debian-mirror-gitlab/app/views/search/show.html.haml

19 lines
624 B
Plaintext
Raw Normal View History

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)
2019-12-21 20:55:43 +05:30
.page-title-holder.d-sm-flex.align-items-sm-center
2019-10-12 21:52:04 +05:30
%h1.page-title<
= _('Search')
2019-12-21 20:55:43 +05:30
= render_if_exists 'search/form_elasticsearch', attrs: { class: 'ml-sm-auto' }
2020-07-28 23:09:34 +05:30
.gl-mt-3
= render 'search/form'
2015-09-11 14:41:01 +05:30
- if @search_term
= render 'search/category'
= render 'search/results'