2017-06-30 12:52:11 -04:00
|
|
|
- @hide_top_links = true
|
2015-09-08 09:49:20 -04:00
|
|
|
- page_title "Snippets"
|
|
|
|
- header_title "Snippets", dashboard_snippets_path
|
|
|
|
|
|
|
|
= render 'dashboard/snippets_head'
|
2019-02-22 07:12:36 -05:00
|
|
|
- if current_user.snippets.exists?
|
|
|
|
= render partial: 'snippets/snippets_scope_menu', locals: { include_private: true }
|
2016-12-07 17:03:00 -05:00
|
|
|
|
2019-02-22 07:12:36 -05:00
|
|
|
- if current_user.snippets.exists?
|
|
|
|
= render partial: 'shared/snippets/list', locals: { link_project: true }
|
|
|
|
- else
|
|
|
|
= render 'shared/empty_states/snippets', button_path: new_snippet_path
|