debian-mirror-gitlab/app/views/projects/snippets/index.html.haml
2016-08-24 12:49:21 +05:30

12 lines
366 B
Text

- page_title "Snippets"
.sub-header-block
.pull-right
- if can?(current_user, :create_project_snippet, @project)
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new", title: "New Snippet" do
New Snippet
.oneline
Share code pastes with others out of git repository
= render 'snippets/snippets'