2007-06-29 21:27:27 +04:00
|
|
|
<h2><%=h @user.name %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<p>
|
2008-07-02 21:27:16 +04:00
|
|
|
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<ul>
|
|
|
|
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
|
|
|
|
<% for custom_value in @custom_values %>
|
|
|
|
<% if !custom_value.value.empty? %>
|
|
|
|
<li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
|
2007-06-23 18:10:13 +04:00
|
|
|
<% unless @memberships.empty? %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<h3><%=l(:label_project_plural)%></h3>
|
2007-06-23 18:06:21 +04:00
|
|
|
<ul>
|
|
|
|
<% for membership in @memberships %>
|
2008-07-02 21:27:16 +04:00
|
|
|
<li><%= link_to(h(membership.project.name), :controller => 'projects', :action => 'show', :id => membership.project) %>
|
|
|
|
(<%=h membership.role.name %>, <%= format_date(membership.created_on) %>)</li>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
2007-06-23 18:06:21 +04:00
|
|
|
</ul>
|
2007-06-23 18:10:13 +04:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<h3><%=l(:label_activity)%></h3>
|
|
|
|
<p>
|
2007-08-29 21:25:22 +04:00
|
|
|
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</p>
|