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

15 lines
318 B
Text
Raw Normal View History

2015-04-30 13:06:18 -04:00
- page_title "Snippets", @user.name
%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
2015-03-14 03:29:32 -04:00
= link_to new_snippet_path, class: "btn btn-sm add_new pull-right", title: "New Snippet" do
2014-10-08 09:44:25 -04:00
Add new snippet
%hr
2013-06-05 15:25:27 -04:00
= render 'snippets'