obsolete.ChilliProject/redmine/app/views/account/show.rhtml

19 lines
472 B
Plaintext
Raw Normal View History

<h2><%= @user.display_name %></h2>
<p>
<%= mail_to @user.mail %><br />
<%=_('Registered on')%>: <%= format_date(@user.created_on) %>
</p>
<h3><%=_('Projects')%></h3>
<p>
<% for membership in @user.memberships %>
<%= membership.project.name %> (<%= membership.role.name %>, <%= format_date(membership.created_on) %>)
<br />
<% end %>
</p>
<h3><%=_('Activity')%></h3>
<p>
<%=_('Reported issues')%>: <%= Issue.count( [ "author_id=?", @user.id]) %>
</p>