@@ -6,25 +6,25 | |||||
6 |
|
6 | |||
7 | <div class="splitcontentleft"> |
|
7 | <div class="splitcontentleft"> | |
8 | <ul> |
|
8 | <ul> | |
9 |
|
|
9 | <% unless @user.pref.hide_mail %> | |
10 |
|
|
10 | <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li> | |
11 |
|
|
11 | <% end %> | |
12 |
|
|
12 | <% @user.visible_custom_field_values.each do |custom_value| %> | |
13 |
|
|
13 | <% if !custom_value.value.blank? %> | |
14 | <li><%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li> |
|
14 | <li><%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li> | |
15 |
|
|
15 | <% end %> | |
16 |
|
|
16 | <% end %> | |
17 | <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li> |
|
17 | <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li> | |
18 |
|
|
18 | <% unless @user.last_login_on.nil? %> | |
19 |
|
|
19 | <li><%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %></li> | |
20 |
|
|
20 | <% end %> | |
21 | </ul> |
|
21 | </ul> | |
22 |
|
22 | |||
23 | <% unless @memberships.empty? %> |
|
23 | <% unless @memberships.empty? %> | |
24 | <h3><%=l(:label_project_plural)%></h3> |
|
24 | <h3><%=l(:label_project_plural)%></h3> | |
25 | <ul> |
|
25 | <ul> | |
26 | <% for membership in @memberships %> |
|
26 | <% for membership in @memberships %> | |
27 |
|
|
27 | <li><%= link_to_project(membership.project) %> | |
28 | (<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)</li> |
|
28 | (<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)</li> | |
29 | <% end %> |
|
29 | <% end %> | |
30 | </ul> |
|
30 | </ul> | |
@@ -57,11 +57,11 | |||||
57 | </div> |
|
57 | </div> | |
58 |
|
58 | |||
59 | <% other_formats_links do |f| %> |
|
59 | <% other_formats_links do |f| %> | |
60 |
|
|
60 | <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => nil, :user_id => @user, :key => User.current.rss_key} %> | |
61 | <% end %> |
|
61 | <% end %> | |
62 |
|
62 | |||
63 | <% content_for :header_tags do %> |
|
63 | <% content_for :header_tags do %> | |
64 |
|
|
64 | <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :user_id => @user, :format => :atom, :key => User.current.rss_key) %> | |
65 | <% end %> |
|
65 | <% end %> | |
66 | <% end %> |
|
66 | <% end %> | |
67 | <%= call_hook :view_account_right_bottom, :user => @user %> |
|
67 | <%= call_hook :view_account_right_bottom, :user => @user %> |
General Comments 0
You need to be logged in to leave comments.
Login now