gitlab-org--gitlab-foss/app/views/projects/snippets/show.html.haml
Han Loong Liauw 1f92c22fec New snippet design for projects
Split out header into shared partial
Used action partials to have unique actions for shared and personal
snippets
changed back to created date in list view
Switched to using existing color classes
2015-10-14 23:53:52 +11:00

14 lines
410 B
Text

- page_title @snippet.title, "Snippets"
= render "header_title"
= render 'shared/snippets/header'
.file-holder
.file-title
%i.fa.fa-file
%strong
= @snippet.file_name
.file-actions
.btn-group
= link_to "raw", raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
%div#notes= render "projects/notes/notes_with_form"