diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-20 12:48:11 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-20 12:48:11 +0200 |
commit | 0d8ad2dd6333e4f93b64cc43f3aacfcd89103cbd (patch) | |
tree | 07813192729097165a402335c72ec79ea92a4e54 /app/views/snippets/user_index.html.haml | |
parent | e06e9623fdc82186895dfb5579ba2ee85690a0a6 (diff) | |
download | gitlab-ce-0d8ad2dd6333e4f93b64cc43f3aacfcd89103cbd.tar.gz |
Cleanup snippets index pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/snippets/user_index.html.haml')
-rw-r--r-- | app/views/snippets/user_index.html.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/snippets/user_index.html.haml b/app/views/snippets/user_index.html.haml index 23700eb39da..7af5352da34 100644 --- a/app/views/snippets/user_index.html.haml +++ b/app/views/snippets/user_index.html.haml @@ -1,14 +1,13 @@ - page_title "Snippets", @user.name -%h3.page-title - = image_tag avatar_icon(@user.email), class: "avatar s24" - = @user.name - %span - \/ - Snippets - - if current_user - = link_to new_snippet_path, class: "btn btn-sm add_new pull-right", title: "New Snippet" do - Add new snippet -%hr +%ol.breadcrumb + %li + = link_to snippets_path do + Snippets + %li + = @user.name + .pull-right.hidden-xs + = link_to user_path(@user) do + #{@user.name} profile page = render 'snippets' |