summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_snippets_head.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/_snippets_head.html.haml')
-rw-r--r--app/views/dashboard/_snippets_head.html.haml10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/views/dashboard/_snippets_head.html.haml b/app/views/dashboard/_snippets_head.html.haml
index e96b5695ddc..8c468812e33 100644
--- a/app/views/dashboard/_snippets_head.html.haml
+++ b/app/views/dashboard/_snippets_head.html.haml
@@ -7,10 +7,6 @@
= link_to _("New snippet"), new_snippet_path, class: "gl-button btn btn-confirm", title: _("New snippet")
.top-area
- %ul.nav-links.nav.nav-tabs
- = nav_link(page: dashboard_snippets_path, html_options: {class: 'home'}) do
- = link_to dashboard_snippets_path, title: 'Your snippets', data: {placement: 'right'} do
- Your snippets
- = nav_link(page: explore_snippets_path) do
- = link_to explore_snippets_path, title: 'Explore snippets', data: {placement: 'right'} do
- Explore snippets
+ = gl_tabs_nav({ class: 'gl-border-0' }) do
+ = gl_tab_link_to _('Your snippets'), dashboard_snippets_path, { title: _('Your snippets') }
+ = gl_tab_link_to _('Explore snippets'), explore_snippets_path, { title: _('Explore snippets') }