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

35 lines
923 B
Text
Raw Normal View History

2013-01-22 12:05:01 -05:00
.row
.col-md-8
%h3.page-title
2013-10-06 14:13:56 -04:00
= image_tag avatar_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-08-27 06:11:05 -04:00
= link_to profile_path, class: 'btn' do
2014-10-01 18:21:29 -04:00
%i.fa.fa-pencil-square-o
Edit Profile settings
2013-01-22 12:45:13 -05:00
%br
%span.user-show-username #{@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
- if @groups.any?
%h4 Groups:
= render 'groups', groups: @groups
%hr
%h4
User Activity:
- if current_user
%span.rss-icon.pull-right
= link_to user_path(@user, :atom, { private_token: current_user.private_token }) do
%strong
%i.fa.fa-rss
2013-01-22 12:05:01 -05:00
= render @events
.col-md-4
2013-02-13 12:14:35 -05:00
= render 'profile', user: @user
- if @projects.present?
= render 'projects', projects: @projects