<%= @user.display_name %>

<%= mail_to @user.mail %>
<%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %>

<%=l(:label_project_plural)%>

<% for membership in @user.memberships %> <%= membership.project.name %> (<%= membership.role.name %>, <%= format_date(membership.created_on) %>)
<% end %>

<%=l(:label_activity)%>

<%=l(:label_reported_issues)%>: <%= Issue.count(["author_id=?", @user.id]) %>