2006-06-28 22:11:03 +04:00
|
|
|
<h2><%= @user.display_name %></h2>
|
|
|
|
|
|
|
|
<p>
|
2006-12-03 23:51:17 +03:00
|
|
|
<%= mail_to @user.mail unless @user.pref.hide_mail %>
|
2006-11-12 21:50:30 +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? %>
|
2006-12-17 17:22:09 +03:00
|
|
|
<li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
|
2006-11-12 21:50:30 +03:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2006-06-28 22:11:03 +04:00
|
|
|
</p>
|
|
|
|
|
2006-07-29 13:32:58 +04:00
|
|
|
<h3><%=l(:label_project_plural)%></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<p>
|
|
|
|
<% for membership in @user.memberships %>
|
|
|
|
<%= membership.project.name %> (<%= membership.role.name %>, <%= format_date(membership.created_on) %>)
|
|
|
|
<br />
|
|
|
|
<% end %>
|
|
|
|
</p>
|
|
|
|
|
2006-07-29 13:32:58 +04:00
|
|
|
<h3><%=l(:label_activity)%></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<p>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%=l(:label_reported_issues)%>: <%= Issue.count(["author_id=?", @user.id]) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</p>
|