diff --git a/app/views/search/results/_commit.html.haml b/app/views/search/results/_commit.html.haml index 89c15ee8fc2dadfc05ae49148f0e566c96ee09ff..ed5a3badf11237c352829578fd904a9647151593 100644 --- a/app/views/search/results/_commit.html.haml +++ b/app/views/search/results/_commit.html.haml @@ -1 +1 @@ -= render 'projects/commits/commit', project: commit.project, commit: commit, ref: nil, show_project_name: true += render 'projects/commits/commit', project: commit.project, commit: commit, ref: nil, show_project_name: @project.nil? diff --git a/changelogs/unreleased/unify-views-search-results.yml b/changelogs/unreleased/unify-views-search-results.yml new file mode 100644 index 0000000000000000000000000000000000000000..81ad3616648db8cf45aaa19a43859ab51f2da240 --- /dev/null +++ b/changelogs/unreleased/unify-views-search-results.yml @@ -0,0 +1,5 @@ +--- +title: Hide project name if searching against a project +merge_request: 19595 +author: +type: changed