summaryrefslogtreecommitdiff
path: root/app/views/snippets/user_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/user_index.html.haml')
-rw-r--r--app/views/snippets/user_index.html.haml19
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'