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

18 lines
429 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'
2016-06-02 11:05:42 +05:30
.row-content-block
2015-09-25 12:07:36 +05:30
- if current_user
2016-11-03 12:29:30 +05:30
= link_to new_snippet_path, class: "btn btn-new btn-wide-on-sm pull-right", title: "New snippet" do
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'