Switch user link to profile link
This commit is contained in:
parent
b695db4af4
commit
2befa8fe30
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue