From 0261a5e222be1e7785a5af4390d457e19e6fef64 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Date: Thu, 2 Apr 2015 18:29:06 -0700 Subject: [PATCH] Fix wording and remove duplicate link --- app/views/layouts/nav/_snippets.html.haml | 4 ++-- app/views/snippets/current_user_index.html.haml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/nav/_snippets.html.haml b/app/views/layouts/nav/_snippets.html.haml index 1c5d376a76d..e71967bc725 100644 --- a/app/views/layouts/nav/_snippets.html.haml +++ b/app/views/layouts/nav/_snippets.html.haml @@ -1,9 +1,9 @@ %ul.nav.nav-sidebar = nav_link(path: user_snippets_path(current_user), html_options: {class: 'home'}) do - = link_to user_snippets_path(current_user) do + = link_to user_snippets_path(current_user), title: 'Your snippets' do %i.fa.fa-dashboard %span - My Snippets + Your Snippets = nav_link(path: snippets_path) do = link_to snippets_path, title: 'Discover snippets' do %i.fa.fa-globe diff --git a/app/views/snippets/current_user_index.html.haml b/app/views/snippets/current_user_index.html.haml index 4a273557953..6bb2237a759 100644 --- a/app/views/snippets/current_user_index.html.haml +++ b/app/views/snippets/current_user_index.html.haml @@ -3,8 +3,6 @@ .pull-right = link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do Add new snippet - = link_to snippets_path, class: "btn btn-grouped" do - Discover snippets %p.light Share code pastes with others out of git repository -- GitLab