summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets/_blob.html.haml
blob: 6a5e777706c868f7a202ec981678851bc025da74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- blob = @snippet.blob
.js-file-title.file-title-flex-parent
  = render 'projects/blob/header_content', blob: blob

  .file-actions.d-none.d-sm-block
    = render 'projects/blob/viewer_switcher', blob: blob

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

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