debian-mirror-gitlab/app/views/dashboard/_snippets_head.html.haml

13 lines
532 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.top-area
%ul.nav-links
= nav_link(page: dashboard_snippets_path, html_options: {class: 'home'}) do
= link_to dashboard_snippets_path, title: 'Your snippets', data: {placement: 'right'} do
2018-03-17 18:26:18 +05:30
Your snippets
2017-08-17 22:00:37 +05:30
= nav_link(page: explore_snippets_path) do
= link_to explore_snippets_path, title: 'Explore snippets', data: {placement: 'right'} do
2018-03-17 18:26:18 +05:30
Explore snippets
2017-08-17 22:00:37 +05:30
- if current_user
2018-03-17 18:26:18 +05:30
.nav-controls.hidden-xs
2017-09-10 17:25:29 +05:30
= link_to "New snippet", new_snippet_path, class: "btn btn-new", title: "New snippet"