Commit a038083e authored by Lin Jen-Shin's avatar Lin Jen-Shin

Unify app/views/search/results by using EE

parent a20d3ff2
......@@ -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
= 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
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