gitlab-org--gitlab-foss/app/views/snippets/show.html.haml
2015-12-09 14:54:54 -05:00

14 lines
466 B
Text

- page_title @snippet.title, "Snippets"
.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
= clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']")
= link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank"
= render 'shared/snippets/blob'