gitlabhq/app/views/users/show.html.haml

22 lines
551 B
Plaintext
Raw Normal View History

2013-01-22 18:05:01 +01:00
.row
.span8
%h3.page_title
= image_tag gravatar_icon(@user.email, 90), class: "avatar s90"
= @user.name
2013-01-24 16:47:09 +01:00
- if @user == current_user
2013-01-30 15:40:43 +01:00
.pull-right
2013-01-29 21:29:21 +01:00
= link_to profile_path, class: 'btn btn-small' do
2013-01-24 16:47:09 +01:00
%i.icon-edit
Edit Profile
2013-01-22 18:45:13 +01:00
%br
%small #{@user.username}
2013-01-22 18:45:13 +01:00
%br
%small member since #{@user.created_at.stamp("Nov 12, 2031")}
2013-01-22 18:05:01 +01:00
.clearfix
%hr
%h5 Recent events
= render @events
.span4
2013-02-13 18:14:35 +01:00
= render 'profile', user: @user
= render 'projects', user: @user