2015-04-30 13:06:18 -04:00
|
|
|
- page_title @snippet.title, "Snippets"
|
2015-10-18 06:54:02 -04:00
|
|
|
|
2016-09-05 13:57:00 -04:00
|
|
|
= render 'shared/snippets/header'
|
2015-10-18 06:54:02 -04:00
|
|
|
|
2016-09-19 13:15:01 -04:00
|
|
|
.project-snippets
|
|
|
|
%article.file-holder.snippet-file-content
|
|
|
|
.file-title
|
|
|
|
= blob_icon 0, @snippet.file_name
|
|
|
|
= @snippet.file_name
|
|
|
|
.file-actions
|
2016-12-07 18:05:42 -05:00
|
|
|
= clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']", class: "btn btn-sm")
|
2016-09-19 13:15:01 -04:00
|
|
|
= link_to 'Raw', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
|
|
|
|
= render 'shared/snippets/blob'
|
2015-10-18 06:54:02 -04:00
|
|
|
|
2016-12-07 18:05:42 -05:00
|
|
|
.row-content-block.top-block.content-component-block
|
|
|
|
= render 'award_emoji/awards_block', awardable: @snippet, inline: true
|
2016-09-04 04:51:12 -04:00
|
|
|
|
2016-12-23 04:37:12 -05:00
|
|
|
#notes= render "projects/notes/notes_with_form"
|