Switch user link to profile link

This commit is contained in:
Andrey Kumanyaev 2013-01-24 03:00:56 +04:00 committed by Dmitriy Zaporozhets
parent b695db4af4
commit 2befa8fe30

View file

@ -3,9 +3,9 @@
%li{id: dom_id(member), class: "team_member_row user_#{user.id}"}
.row
.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"
= 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)
%br
%small.cgray= user.email