2013-01-22 12:05:01 -05:00
|
|
|
.row
|
|
|
|
.span8
|
2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title
|
2013-06-06 12:02:58 -04:00
|
|
|
= image_tag gravatar_icon(@user.email, 90), class: "avatar s90", alt: ''
|
2013-01-22 12:05:01 -05:00
|
|
|
= @user.name
|
2013-01-24 10:47:09 -05:00
|
|
|
- if @user == current_user
|
2013-01-30 09:40:43 -05:00
|
|
|
.pull-right
|
2013-01-29 15:29:21 -05:00
|
|
|
= link_to profile_path, class: 'btn btn-small' do
|
2013-01-24 10:47:09 -05:00
|
|
|
%i.icon-edit
|
|
|
|
Edit Profile
|
2013-01-22 12:45:13 -05:00
|
|
|
%br
|
2013-03-13 13:16:36 -04:00
|
|
|
%small #{@user.username}
|
2013-01-22 12:45:13 -05:00
|
|
|
%br
|
|
|
|
%small member since #{@user.created_at.stamp("Nov 12, 2031")}
|
2013-01-22 12:05:01 -05:00
|
|
|
.clearfix
|
|
|
|
%hr
|
2013-06-20 08:59:39 -04:00
|
|
|
%h5 User Activity:
|
2013-01-22 12:05:01 -05:00
|
|
|
= render @events
|
|
|
|
.span4
|
2013-02-13 12:14:35 -05:00
|
|
|
= render 'profile', user: @user
|
|
|
|
= render 'projects', user: @user
|