2015-09-11 14:41:01 +05:30
|
|
|
- blob = @project.repository.parse_search_result(blob)
|
2014-09-02 18:07:02 +05:30
|
|
|
.blob-result
|
|
|
|
.file-holder
|
|
|
|
.file-title
|
2016-08-24 12:49:21 +05:30
|
|
|
- blob_link = namespace_project_blob_path(@project.namespace, @project, tree_join(blob.ref, blob.filename))
|
|
|
|
= link_to blob_link do
|
2015-04-26 12:48:37 +05:30
|
|
|
%i.fa.fa-file
|
2014-09-02 18:07:02 +05:30
|
|
|
%strong
|
|
|
|
= blob.filename
|
|
|
|
.file-content.code.term
|
2016-08-24 12:49:21 +05:30
|
|
|
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline, blob_link: blob_link
|