1f92c22fec
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
14 lines
410 B
Text
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"
|