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

10 lines
407 B
Text
Raw Normal View History

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'