debian-mirror-gitlab/app/views/projects/snippets/index.html.haml

13 lines
366 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Snippets"
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
.sub-header-block
2015-11-26 14:37:03 +05:30
.pull-right
2016-08-24 12:49:21 +05:30
- 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
2014-09-02 18:07:02 +05:30
2015-11-26 14:37:03 +05:30
.oneline
Share code pastes with others out of git repository
2014-09-02 18:07:02 +05:30
2015-11-26 14:37:03 +05:30
= render 'snippets/snippets'