Commit 180dc237 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'unify-views-search-results' into 'master'

Hide project name if searching against a project

See merge request gitlab-org/gitlab-ce!19595
parents 77032638 41cfe904
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
.js-file-title.file-title .js-file-title.file-title
= link_to blob_link do = link_to blob_link do
%i.fa.fa-file %i.fa.fa-file
= search_blob_title(project, file_name) %strong
= search_blob_title(project, file_name)
- if blob.data - if blob.data
.file-content.code.term .file-content.code.term
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline = render 'shared/file_highlight', blob: blob, first_line_number: blob.startline
= render 'projects/commits/commit', project: @project, commit: commit, ref: nil = render 'projects/commits/commit', project: commit.project, commit: commit, ref: nil, show_project_name: @project.nil?
---
title: Hide project name if searching against a project
merge_request: 19595
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment