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

20 lines
447 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
- page_title "Snippets"
- header_title "Snippets", snippets_path
- if current_user
= render 'dashboard/snippets_head'
- else
= render 'explore/head'
.gray-content-block
- if current_user
.pull-right
= link_to new_snippet_path, class: "btn btn-new", title: "New Snippet" do
2015-11-26 14:37:03 +05:30
= icon('plus')
New Snippet
2015-09-25 12:07:36 +05:30
.oneline
Public snippets created by you and other users are listed here
= render 'snippets/snippets'