diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-06-11 20:02:26 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-06-11 20:33:40 +0800 |
commit | 41cfe904b7f3c3a981b83c17e3222d974e29d611 (patch) | |
tree | e4c2b71a666169dece3c1604493366768b4a53dc /app/views/search | |
parent | a038083e39b76fb5c0426f6b7b170500aa94f2e6 (diff) | |
download | gitlab-ce-41cfe904b7f3c3a981b83c17e3222d974e29d611.tar.gz |
Hide project name if searching against a project
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_commit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_commit.html.haml b/app/views/search/results/_commit.html.haml index 89c15ee8fc2..ed5a3badf11 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? |