Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_blob.html.haml « results « search « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e8adc82583e275a53624de3fccc0ddbc8d7c9b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- file_name, blob = blob
.blob-result
  .file-holder
    .file-title
      - ref = @search_results.repository_ref
      - blob_link = namespace_project_blob_path(@project.namespace, @project, tree_join(ref, file_name))
      = link_to blob_link do
        %i.fa.fa-file
        %strong
          = file_name
    - if blob
      .file-content.code.term
        = render 'shared/file_highlight', blob: blob, first_line_number: blob.startline, blob_link: blob_link