2012-10-02 16:14:08 +01:00
|
|
|
-set_meta_tags :title => title_object(@user)
|
2011-03-31 00:10:23 +01:00
|
|
|
|
2012-10-02 16:14:08 +01:00
|
|
|
- edit_link = can?(:edit, @user) ? link_to(t("layout.users.settings"), current_user == @user ? profile_settings_path : edit_admin_user_path(@user), :class => 'button width81') : nil
|
2012-10-03 17:38:42 +01:00
|
|
|
= render 'shared/profile', :uname => @user.uname, :name => @user.name, :user => @user, :search_path => user_path, :projects => @projects, :edit_link => edit_link
|