summaryrefslogtreecommitdiff
path: root/app/views/search/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/show.html.haml')
-rw-r--r--app/views/search/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index 869890cdf31..18eaccb46b2 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -2,6 +2,10 @@
- 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')