зеркало из
https://github.com/redmine/redmine.git
synced 2024-08-08 14:11:04 +02:00
2f84506227
git-svn-id: http://redmine.rubyforge.org/svn/branches/0.7-stable@1613 e93f8b46-1217-0410-a6f0-8f06a7374b81
28 строки
848 B
Plaintext
28 строки
848 B
Plaintext
<h2><%=h @user.name %></h2>
|
|
|
|
<p>
|
|
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
|
|
<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>
|
|
|
|
<% unless @memberships.empty? %>
|
|
<h3><%=l(:label_project_plural)%></h3>
|
|
<ul>
|
|
<% for membership in @memberships %>
|
|
<li><%= link_to(h(membership.project.name), :controller => 'projects', :action => 'show', :id => membership.project) %>
|
|
(<%=h membership.role.name %>, <%= format_date(membership.created_on) %>)</li>
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|
|
|
|
<h3><%=l(:label_activity)%></h3>
|
|
<p>
|
|
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
|
|
</p> |