diff options
Diffstat (limited to 'app/views/projects/snippets/index.html.haml')
-rw-r--r-- | app/views/projects/snippets/index.html.haml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/views/projects/snippets/index.html.haml b/app/views/projects/snippets/index.html.haml deleted file mode 100644 index e2d8ec673a1..00000000000 --- a/app/views/projects/snippets/index.html.haml +++ /dev/null @@ -1,15 +0,0 @@ -%h3.page-title - Snippets - - if can? current_user, :write_project_snippet, @project - = link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new pull-right", title: "New Snippet" do - Add new snippet - -%p.light - Share code pastes with others out of git repository - -%hr -%ul.bordered-list - = render partial: "projects/snippets/snippet", collection: @snippets - - if @snippets.empty? - %li - .nothing-here-block Nothing here. |