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

18 lines
419 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Public Snippets"
2014-09-02 18:07:02 +05:30
%h3.page-title
Public snippets
.pull-right
2015-04-26 12:48:37 +05:30
- 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
2014-09-02 18:07:02 +05:30
%p.light
Public snippets created by you and other users are listed here
%hr
= render 'snippets'