diff options
author | Go MAEDA <maeda@farend.jp> | 2019-05-20 08:51:04 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-05-20 08:51:04 +0000 |
commit | da78e654f13b9b13e1584bac91dae9631c12f63e (patch) | |
tree | e876514c819c08da93fb3e0799a52cc1feaa3e45 /app | |
parent | c341b62fed7f165a5945f66d48bebf92767fde67 (diff) | |
download | redmine-da78e654f13b9b13e1584bac91dae9631c12f63e.tar.gz redmine-da78e654f13b9b13e1584bac91dae9631c12f63e.zip |
Display user's gravatar when editing profile (#5899).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18180 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/users/edit.html.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 67b57f802..2a8b6707f 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -5,6 +5,9 @@ <%= delete_link user_path(@user) if User.current != @user %> </div> -<%= title [l(:label_user_plural), users_path], @user.login %> +<%= + page_title = title [l(:label_user_plural), users_path], @user.login + page_title.insert(page_title.rindex(' ') + 1, avatar(@user)) +%> <%= render_tabs user_settings_tabs %> |