debian-mirror-gitlab/app/views/snippets/show.html.haml

15 lines
466 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title @snippet.title, "Snippets"
2014-09-02 18:07:02 +05:30
2015-11-26 14:37:03 +05:30
.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-23 02:04:40 +05:30
= clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']")
= link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank"
2015-11-26 14:37:03 +05:30
= render 'shared/snippets/blob'