gitlab-org--gitlab-foss/app/views/search/_blob.html.haml
2013-05-14 20:46:17 +03:00

10 lines
388 B
Text

%li
.file_holder
.file_title
= link_to project_blob_path(@project, tree_join(blob.ref, blob.filename), :anchor => "L" + blob.startline.to_s) do
%i.icon-file
%strong
= blob.filename
.file_content.code.term
%div{class: user_color_scheme_class}
= raw blob.colorize( formatter: :gitlab, options: { first_line_number: blob.startline } )