gitlab-org--gitlab-foss/app/views/search/results/_blob.html.haml
2014-10-03 12:19:24 +02:00

9 lines
338 B
Text

.blob-result
.file-holder
.file-title
= link_to project_blob_path(@project, tree_join(blob.ref, blob.filename), :anchor => "L" + blob.startline.to_s) do
%i.fa.fa-file
%strong
= blob.filename
.file-content.code.term
= render 'shared/file_hljs', blob: blob, first_line_number: blob.startline