Unify app/views/search/results by using EE

This commit is contained in:
Lin Jen-Shin 2018-06-09 01:43:23 +08:00
parent a20d3ff2b0
commit a038083e39
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@
.js-file-title.file-title
= link_to blob_link do
%i.fa.fa-file
= search_blob_title(project, file_name)
%strong
= search_blob_title(project, file_name)
- if blob.data
.file-content.code.term
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline

View File

@ -1 +1 @@
= render 'projects/commits/commit', project: @project, commit: commit, ref: nil
= render 'projects/commits/commit', project: commit.project, commit: commit, ref: nil, show_project_name: true