From: Toshi MARUYAMA Date: Thu, 12 May 2011 00:25:35 +0000 (+0000) Subject: make username a link to their profile page (#8345). X-Git-Tag: 1.2.0~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=16c0b67941bc7aa3d4fc6804e36029caa2bf6fb1;p=redmine.git make username a link to their profile page (#8345). Contributed by Adam Soltys. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5746 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/_sidebar.rhtml b/app/views/my/_sidebar.rhtml index 2089feeac..e7689c138 100644 --- a/app/views/my/_sidebar.rhtml +++ b/app/views/my/_sidebar.rhtml @@ -1,6 +1,6 @@

<%=l(:label_my_account)%>

-

<%=l(:field_login)%>: <%= @user.login %>
+

<%=l(:field_login)%>: <%= link_to @user.login, user_path(@user) %>
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>