Commit 2befa8fe authored by Andrey Kumanyaev's avatar Andrey Kumanyaev Committed by Dmitriy Zaporozhets

Switch user link to profile link

parent b695db4a
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
%li{id: dom_id(member), class: "team_member_row user_#{user.id}"} %li{id: dom_id(member), class: "team_member_row user_#{user.id}"}
.row .row
.span5 .span5
= link_to team_member_path(@team, user), title: user.name, class: "dark" do = link_to user_path(user.username), title: user.name, class: "dark" do
= image_tag gravatar_icon(user.email, 40), class: "avatar s32" = image_tag gravatar_icon(user.email, 40), class: "avatar s32"
= link_to team_member_path(@team, user), title: user.name, class: "dark" do = link_to user_path(user.username), title: user.name, class: "dark" do
%strong= truncate(user.name, lenght: 40) %strong= truncate(user.name, lenght: 40)
%br %br
%small.cgray= user.email %small.cgray= user.email
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment