2015-04-30 13:06:18 -04:00
|
|
|
- page_title @snippet.title, "Snippets"
|
2015-09-17 06:16:24 -04:00
|
|
|
= render "header_title"
|
2015-10-18 06:54:02 -04:00
|
|
|
|
|
|
|
.snippet-holder
|
|
|
|
= render 'shared/snippets/header'
|
|
|
|
|
|
|
|
%article.file-holder
|
|
|
|
.file-title
|
|
|
|
= blob_icon 0, @snippet.file_name
|
|
|
|
%strong
|
|
|
|
= @snippet.file_name
|
|
|
|
.file-actions.hidden-xs
|
2015-12-08 17:43:03 -05:00
|
|
|
= clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']")
|
|
|
|
= link_to 'Raw', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
|
2015-10-18 06:54:02 -04:00
|
|
|
|
|
|
|
= render 'shared/snippets/blob'
|
|
|
|
|
|
|
|
%div#notes= render "projects/notes/notes_with_form"
|