Sort roles on account view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2736 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a09f0e0e74
commit
5ab33bca8e
|
@ -25,7 +25,7 @@
|
|||
<ul>
|
||||
<% for membership in @memberships %>
|
||||
<li><%= link_to(h(membership.project.name), :controller => 'projects', :action => 'show', :id => membership.project) %>
|
||||
(<%=h membership.roles.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)</li>
|
||||
(<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_on) %>)</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue