diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-18 14:03:26 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-18 14:03:26 +0300 |
commit | 946f00ed7f2b487273bb5dabdb5997da60f1dc92 (patch) | |
tree | 98eddf82c383d4c897a366e2900874d4246a12de /app/views/dashboard/snippets | |
parent | b371b6d13974fe8db3601e68922db0b735049a17 (diff) |
Update style of snippets pages
Diffstat (limited to 'app/views/dashboard/snippets')
-rw-r--r-- | app/views/dashboard/snippets/index.html.haml | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/app/views/dashboard/snippets/index.html.haml b/app/views/dashboard/snippets/index.html.haml index d3908062f43..d92149dcc70 100644 --- a/app/views/dashboard/snippets/index.html.haml +++ b/app/views/dashboard/snippets/index.html.haml @@ -6,33 +6,11 @@ .gray-content-block .pull-right = link_to new_snippet_path, class: "btn btn-new", title: "New Snippet" do - Add new snippet + = icon('plus') + New Snippet .oneline Share code pastes with others out of git repository -%ul.nav.nav-tabs.prepend-top-20 - = nav_tab :scope, nil do - = link_to dashboard_snippets_path do - All - %span.badge - = current_user.snippets.count - = nav_tab :scope, 'are_private' do - = link_to dashboard_snippets_path(scope: 'are_private') do - Private - %span.badge - = current_user.snippets.are_private.count - = nav_tab :scope, 'are_internal' do - = link_to dashboard_snippets_path(scope: 'are_internal') do - Internal - %span.badge - = current_user.snippets.are_internal.count - = nav_tab :scope, 'are_public' do - = link_to dashboard_snippets_path(scope: 'are_public') do - Public - %span.badge - = current_user.snippets.are_public.count - -.my-snippets - = render 'snippets/snippets' += render 'snippets/snippets' |