diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-02 18:29:06 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-22 18:18:11 +0300 |
commit | 0261a5e222be1e7785a5af4390d457e19e6fef64 (patch) | |
tree | 26de76000e3fe926102bed48558bd97dba443d11 /app | |
parent | 4a63573b21dedaebaf0722b819926c5a468bcc5d (diff) | |
download | gitlab-ce-0261a5e222be1e7785a5af4390d457e19e6fef64.tar.gz |
Fix wording and remove duplicate link
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/nav/_snippets.html.haml | 4 | ||||
-rw-r--r-- | 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 |