]> source.dussan.org Git - redmine.git/commitdiff
make username a link to their profile page (#8345).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 12 May 2011 00:25:35 +0000 (00:25 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 12 May 2011 00:25:35 +0000 (00:25 +0000)
Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5746 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/_sidebar.rhtml

index 2089feeacf365bd1e255f13cd38ce6a50a581ad2..e7689c13859395969d1af5c6618b389ca05d090a 100644 (file)
@@ -1,6 +1,6 @@
 <h3><%=l(:label_my_account)%></h3>
 
-<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
+<p><%=l(:field_login)%>: <strong><%= link_to @user.login, user_path(@user) %></strong><br />
 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>