2017-08-17 22:00:37 +05:30
|
|
|
- blob = @snippet.blob
|
|
|
|
.js-file-title.file-title-flex-parent
|
|
|
|
= render 'projects/blob/header_content', blob: blob
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.file-actions.d-none.d-sm-block
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'projects/blob/viewer_switcher', blob: blob
|
|
|
|
|
|
|
|
.btn-group{ role: "group" }<
|
|
|
|
= copy_blob_source_button(blob)
|
|
|
|
= open_raw_blob_button(blob)
|
|
|
|
|
|
|
|
= link_to icon('download'), download_snippet_path(@snippet), target: '_blank', class: "btn btn-sm has-tooltip", title: 'Download', data: { container: 'body' }
|
|
|
|
|
|
|
|
= render 'projects/blob/content', blob: blob
|