gitlab-org--gitlab-foss/app/views/snippets/index.html.haml
2015-04-30 19:12:15 +02:00

17 lines
419 B
Text

- page_title "Public Snippets"
%h3.page-title
Public snippets
.pull-right
- if current_user
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
Add new snippet
= link_to user_snippets_path(current_user), class: "btn btn-grouped" do
Your snippets
%p.light
Public snippets created by you and other users are listed here
%hr
= render 'snippets'