diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-27 09:46:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-27 09:46:18 +0000 |
commit | bf2547db20ee70171b460b110229fde36997adc6 (patch) | |
tree | cf24af98fa498896b6dd20b9abc1829b9b108d6d /app/views/my | |
parent | bc9ca5fcfd74ea699ea816aaf9e38edadd37b784 (diff) | |
download | redmine-bf2547db20ee70171b460b110229fde36997adc6.tar.gz redmine-bf2547db20ee70171b460b110229fde36997adc6.zip |
Add avatar and edit link to "My account" page (#5418).
git-svn-id: http://svn.redmine.org/redmine/trunk@14377 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r-- | app/views/my/account.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb index cadf0e830..2d7aa9a51 100644 --- a/app/views/my/account.html.erb +++ b/app/views/my/account.html.erb @@ -4,7 +4,11 @@ <%= call_hook(:view_my_account_contextual, :user => @user)%> </div> -<h2><%=l(:label_my_account)%></h2> +<h2> + <%= avatar_edit_link(@user, :size => "50") %> + <%=l(:label_my_account)%> +</h2> + <%= error_messages_for 'user' %> <%= labelled_form_for :user, @user, |