# HG changeset patch # User luisf # Date 1300730576 0 # Node ID 782d4fc319bb4ca773697b0ee1ba0b8a41c11f40 # Parent 2241ff65dd333bbc9fea6deec4c35f1e47692434 added the description; changed the roles labels. minor fixes to layout. diff -r 2241ff65dd33 -r 782d4fc319bb app/views/projects/settings/_members.rhtml --- a/app/views/projects/settings/_members.rhtml Thu Feb 17 19:48:59 2011 +0000 +++ b/app/views/projects/settings/_members.rhtml Mon Mar 21 18:02:56 2011 +0000 @@ -2,6 +2,7 @@ <% roles = Role.find_all_givable members = @project.member_principals.find(:all, :include => [:roles, :principal]).sort %> +
<% if members.any? %> @@ -73,9 +74,11 @@ <% end %> -

<%= l(:label_role_plural) %>: +

<%= l(:label_set_role_plural) %>:

+

<% roles.each do |role| %> - + +        <%=l( 'label_' + role.name.downcase + "_description").to_sym %> <% end %>

<%= submit_tag l(:button_add), :id => 'member-add-submit' %>

diff -r 2241ff65dd33 -r 782d4fc319bb config/locales/en-GB.yml --- a/config/locales/en-GB.yml Thu Feb 17 19:48:59 2011 +0000 +++ b/config/locales/en-GB.yml Mon Mar 21 18:02:56 2011 +0000 @@ -959,3 +959,9 @@ label_user_search: "Search for user:" field_visible: Visible setting_emails_header: Emails header + + label_manager_description: All powers including adding and removing members and adjusting project settings + label_developer_description: Can commit to repository and carry out most project editing tasks + label_reporter_description: Can submit bug reports; has read access for private projects + + label_set_role_plural: Choose roles for new member \ No newline at end of file diff -r 2241ff65dd33 -r 782d4fc319bb config/locales/en.yml --- a/config/locales/en.yml Thu Feb 17 19:48:59 2011 +0000 +++ b/config/locales/en.yml Mon Mar 21 18:02:56 2011 +0000 @@ -952,3 +952,9 @@ enumeration_activities: Activities (time tracking) enumeration_system_activity: System Activity + label_manager_description: All powers including adding and removing members and adjusting project settings + label_developer_description: Can commit to repository and carry out most project editing tasks + label_reporter_description: Can submit bug reports; has read access for private projects + + label_set_role_plural: Choose roles for new member +