gitlab-org--gitlab-foss/app/views/snippets/user_index.html.haml

14 lines
285 B
Text
Raw Normal View History

%h3.page-title
2013-10-06 14:13:56 -04:00
= image_tag avatar_icon(@user.email), class: "avatar s24"
= @user.name
2013-06-05 15:25:27 -04:00
%span
\/
Snippets
2014-10-08 09:44:25 -04:00
- if current_user
= link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
Add new snippet
%hr
2013-06-05 15:25:27 -04:00
= render 'snippets'