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

_blob.html.haml « snippets « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0c481120969f4bcd9fe9d69f980765768e805969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- blob = @snippet.blob
.js-file-title.file-title-flex-parent
  .file-header-content
    = blob_icon blob.mode, blob.path

    %strong.file-title-name
      = blob.path

    = copy_file_path_button(blob.path)

    %small
      = number_to_human_size(blob.raw_size)

  .file-actions.hidden-xs
    = render 'projects/blob/viewer_switcher', blob: blob

    .btn-group{ role: "group" }<
      = copy_blob_source_button(blob)
      = open_raw_blob_button

      - if defined?(download_path) && download_path
        = link_to icon('download'), download_path, class: "btn btn-sm has-tooltip", title: 'Download', data: { container: 'body' }

= render 'projects/blob/content', blob: blob