debian-mirror-gitlab/app/views/search/results/_blob.html.haml

11 lines
428 B
Text
Raw Normal View History

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-09-25 12:07:36 +05:30
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline