diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-12 19:06:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-12 19:06:45 +0000 |
commit | 5ab33bca8e36c5097a2f9f3ddeb7ed8e4912c289 (patch) | |
tree | 9d67d1be949514239638552abfb796e85ac32419 /app/views/account | |
parent | a09f0e0e74cb392786fb14109c64857c3fce91c9 (diff) | |
download | redmine-5ab33bca8e36c5097a2f9f3ddeb7ed8e4912c289.tar.gz redmine-5ab33bca8e36c5097a2f9f3ddeb7ed8e4912c289.zip |
Sort roles on account view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2736 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r-- | app/views/account/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index c97da7f97..70ca30961 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -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 %> |