diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 3a3de34e7..8c0aa6111 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -6,25 +6,25 @@
- <% unless @user.pref.hide_mail %>
- - <%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %>
- <% end %>
- <% @user.visible_custom_field_values.each do |custom_value| %>
- <% if !custom_value.value.blank? %>
+ <% unless @user.pref.hide_mail %>
+ - <%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %>
+ <% end %>
+ <% @user.visible_custom_field_values.each do |custom_value| %>
+ <% if !custom_value.value.blank? %>
- <%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %>
- <% end %>
- <% end %>
+ <% end %>
+ <% end %>
- <%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %>
- <% unless @user.last_login_on.nil? %>
- - <%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %>
- <% end %>
+ <% unless @user.last_login_on.nil? %>
+ - <%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %>
+ <% end %>
<% unless @memberships.empty? %>
<%=l(:label_project_plural)%>
<% for membership in @memberships %>
- - <%= link_to_project(membership.project) %>
+
- <%= link_to_project(membership.project) %>
(<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)
<% end %>
@@ -57,11 +57,11 @@
<% other_formats_links do |f| %>
- <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => nil, :user_id => @user, :key => User.current.rss_key} %>
+ <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => nil, :user_id => @user, :key => User.current.rss_key} %>
<% end %>
<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :user_id => @user, :format => :atom, :key => User.current.rss_key) %>
+ <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :user_id => @user, :format => :atom, :key => User.current.rss_key) %>
<% end %>
<% end %>
<%= call_hook :view_account_right_bottom, :user => @user %>