gitlab-org--gitlab-foss/app/views/users/show.html.haml

24 lines
643 B
Plaintext
Raw Normal View History

2013-01-22 17:05:01 +00:00
.row
.col-md-8
%h3.page-title
2013-10-06 18:13:56 +00:00
= image_tag avatar_icon(@user.email, 90), class: "avatar s90", alt: ''
2013-01-22 17:05:01 +00:00
= @user.name
2013-01-24 15:47:09 +00:00
- if @user == current_user
2013-01-30 14:40:43 +00:00
.pull-right
2013-08-27 10:11:05 +00:00
= link_to profile_path, class: 'btn' do
2013-01-24 15:47:09 +00:00
%i.icon-edit
Edit Profile settings
2013-01-22 17:45:13 +00:00
%br
%span.user-show-username #{@user.username}
2013-01-22 17:45:13 +00:00
%br
%small member since #{@user.created_at.stamp("Nov 12, 2031")}
2013-01-22 17:05:01 +00:00
.clearfix
%h4 Groups:
= render 'groups', groups: @user.groups
2013-01-22 17:05:01 +00:00
%hr
2013-08-27 10:11:05 +00:00
%h4 User Activity:
2013-01-22 17:05:01 +00:00
= render @events
.col-md-4
2013-02-13 17:14:35 +00:00
= render 'profile', user: @user
= render 'projects', user: @user