summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-06-27 05:43:42 +0000
committerGo MAEDA <maeda@farend.jp>2020-06-27 05:43:42 +0000
commitfc3c4abc12db06af351377d5a22e9c4117228b75 (patch)
treef3f352bcf59bb0ef33b7b6dd1736edac0d1209ba /app/views/users
parentc1be4e3ec4880d9e23daed11dc5813b6444bb495 (diff)
downloadredmine-fc3c4abc12db06af351377d5a22e9c4117228b75.tar.gz
redmine-fc3c4abc12db06af351377d5a22e9c4117228b75.zip
Additional email addresses are not displayed in user profile page (#33601).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19836 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index e97119bab..fabf91dae 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -9,7 +9,7 @@
<ul>
<li><%=l(:field_login)%>: <%= @user.login %></li>
<% unless @user.pref.hide_mail %>
- <li><%=l(:field_mail)%>: <%= mail_to(@user.mail, nil, :encode => 'javascript') %></li>
+ <li><%=l(:field_mail)%>: <%= user_emails(@user) %></li>
<% end %>
<% @user.visible_custom_field_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>