2012-03-02 12:14:59 +00:00
|
|
|
.left
|
2012-03-11 16:02:07 +00:00
|
|
|
= image_tag avatar_url(@user, :big)
|
|
|
|
%br
|
2012-05-02 10:18:07 +01:00
|
|
|
= link_to t("layout.users.settings"), current_user == @user ? profile_settings_path : edit_admin_user_path(@user), :class => 'button width81' if can? :edit, @user
|
2012-03-02 12:14:59 +00:00
|
|
|
.left
|
2012-03-30 15:54:30 +01:00
|
|
|
%h3= title @user.uname
|
|
|
|
= @user.name
|
2012-03-02 12:14:59 +00:00
|
|
|
%br
|
2012-05-02 10:18:07 +01:00
|
|
|
= link_to @user.email, "mailto:#{@user.email}"
|
2012-03-02 12:14:59 +00:00
|
|
|
%br
|
|
|
|
%h4= t("activerecord.attributes.user.professional_experience") + ":"
|
|
|
|
%p= @user.professional_experience
|
|
|
|
%h4= t("layout.users.public_projects_list") + ":"
|
2011-03-31 00:10:23 +01:00
|
|
|
%p
|
2012-03-02 12:14:59 +00:00
|
|
|
- @user.projects.by_visibilities(['open']).each do |project|
|
|
|
|
= link_to project.name, project
|
|
|
|
%br
|
2011-03-31 00:10:23 +01:00
|
|
|
|
2012-03-02 12:14:59 +00:00
|
|
|
:javascript
|
|
|
|
$('article .all').addClass('verybigpadding');
|