BigW Consortium Gitlab

_blob.html.haml 428 Bytes
Newer Older
1
- blob = @project.repository.parse_search_result(blob)
2
.blob-result
3 4
  .file-holder
    .file-title
Vinnie Okada committed
5
      = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(blob.ref, blob.filename), :anchor => "L" + blob.startline.to_s) do
6
        %i.fa.fa-file
7 8
        %strong
          = blob.filename
9
    .file-content.code.term
10
      = render 'shared/file_highlight', blob: blob, first_line_number: blob.startline