summaryrefslogtreecommitdiffstats
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-17 01:11:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-17 01:11:56 +0000
commitd0155bba6158839893a2b91615f40fdc4c2bcc52 (patch)
tree90bbf9fa070dc7c8fd0857d3cc138e501791ad2b /app/views/users/show.html.erb
parentde288bc1fe13ca55a880f6be9037b533fa54b5b0 (diff)
downloadredmine-d0155bba6158839893a2b91615f40fdc4c2bcc52.tar.gz
redmine-d0155bba6158839893a2b91615f40fdc4c2bcc52.zip
replace tabs to spaces at app/views/users/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7270 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb26
1 files changed, 13 insertions, 13 deletions
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 @@
<div class="splitcontentleft">
<ul>
- <% unless @user.pref.hide_mail %>
- <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
- <% end %>
- <% @user.visible_custom_field_values.each do |custom_value| %>
- <% if !custom_value.value.blank? %>
+ <% unless @user.pref.hide_mail %>
+ <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
+ <% end %>
+ <% @user.visible_custom_field_values.each do |custom_value| %>
+ <% if !custom_value.value.blank? %>
<li><%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
- <% end %>
- <% end %>
+ <% end %>
+ <% end %>
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
- <% unless @user.last_login_on.nil? %>
- <li><%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %></li>
- <% end %>
+ <% unless @user.last_login_on.nil? %>
+ <li><%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %></li>
+ <% end %>
</ul>
<% unless @memberships.empty? %>
<h3><%=l(:label_project_plural)%></h3>
<ul>
<% for membership in @memberships %>
- <li><%= link_to_project(membership.project) %>
+ <li><%= link_to_project(membership.project) %>
(<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)</li>
<% end %>
</ul>
@@ -57,11 +57,11 @@
</div>
<% 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 %>