debian-mirror-gitlab/app/views/snippets/user_index.html.haml

14 lines
282 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
%h3.page-title
= image_tag avatar_icon(@user.email), class: "avatar s24"
= @user.name
%span
\/
Snippets
2015-04-26 12:48:37 +05:30
- if current_user
= link_to new_snippet_path, class: "btn btn-sm add_new pull-right", title: "New Snippet" do
Add new snippet
2014-09-02 18:07:02 +05:30
%hr
= render 'snippets'