gitlab-org--gitlab-foss/app/views/projects/snippets/index.html.haml

13 lines
366 B
Plaintext
Raw Normal View History

2015-04-30 17:06:18 +00:00
- page_title "Snippets"
.sub-header-block
2015-10-18 11:03:26 +00:00
.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
2013-08-12 09:08:52 +00:00
2015-10-18 11:03:26 +00:00
.oneline
Share code pastes with others out of git repository
2013-08-12 09:08:52 +00:00
2015-10-18 11:03:26 +00:00
= render 'snippets/snippets'