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
|
2015-04-26 12:48:37 +05:30
|
|
|
= link_to namespace_project_blob_path(@project.namespace, @project, tree_join(blob.ref, blob.filename), :anchor => "L" + blob.startline.to_s) do
|
|
|
|
%i.fa.fa-file
|
2014-09-02 18:07:02 +05:30
|
|
|
%strong
|
|
|
|
= blob.filename
|
|
|
|
.file-content.code.term
|
2015-04-26 12:48:37 +05:30
|
|
|
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline, user_color_scheme_class: 'white'
|