Unify app/views/search/results by using EE
This commit is contained in:
parent
a20d3ff2b0
commit
a038083e39
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue