blob: 2caa8e0cac4b6a60ba8c37fb16468527672094bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- @hide_top_links = true
- page_title "Snippets"
- header_title "Snippets", dashboard_snippets_path
= render 'dashboard/snippets_head'
- if current_user.snippets.exists?
= render partial: 'snippets/snippets_scope_menu', locals: { include_private: true }
- 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
|