gitlab-org--gitlab-foss/app/views/shared/snippets/_blob.html.haml

14 lines
406 B
Text
Raw Normal View History

2017-04-13 12:47:28 -04:00
- blob = @snippet.blob
2017-03-14 13:58:52 -04:00
.js-file-title.file-title-flex-parent
= render 'projects/blob/header_content', blob: blob
2017-03-14 13:58:52 -04:00
2018-04-09 17:50:40 -04:00
.file-actions.d-none.d-sm-block
2017-04-13 12:47:28 -04:00
= render 'projects/blob/viewer_switcher', blob: blob
2017-03-14 13:58:52 -04:00
.btn-group{ role: "group" }<
2017-04-13 12:47:28 -04:00
= copy_blob_source_button(blob)
= open_raw_blob_button(blob)
= download_raw_snippet_button(@snippet)
2017-03-14 13:58:52 -04:00
2017-04-13 12:47:28 -04:00
= render 'projects/blob/content', blob: blob