From: Jean-Baptiste Vilain Date: Mon, 22 Jul 2013 07:53:44 +0000 (+0200) Subject: Roles and permissions labels adjustments X-Git-Tag: 3.7~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e19dff9a32a04746af9419eba15367675356e202;p=sonarqube.git Roles and permissions labels adjustments --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 7b78c5e6753..9f1b13f9ba9 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -2260,8 +2260,8 @@ projects_role.user.desc=Ability to browse the measures and to create/edit issues projects_role.codeviewer=Code Viewers projects_role.codeviewer.desc=Ability to view the source code of the project. projects_role.bulk_change=Bulk Change -projects_role.apply_template=Apply permission template -projects_role.apply_template_to_xxx=Apply permission template to "{0}" +projects_role.apply_template=Apply Permission Template +projects_role.apply_template_to_xxx=Apply Permission Template to "{0}" projects_role.no_projects=There are currently no results to apply the permission template to. @@ -2273,17 +2273,17 @@ projects_role.no_projects=There are currently no results to apply the permission #------------------------------------------------------------------------------ permission_templates=Permission Templates permission_templates.page=Permission Templates -permission_template.new_template=New permission template +permission_template.new_template=New Permission Template permission_template.create_template=Create -permission_template.delete_confirm_title=Delete permission template +permission_template.delete_confirm_title=Delete Permission Template permission_template.do_you_want_to_delete_template_xxx=Are you sure that you want to delete permission template "{0}"? permission_template.delete_template=Delete -permission_template.edit_template=Edit permission template +permission_template.edit_template=Edit Permission Template permission_template.update_template=Update -permission_template.edit_permissions=Edit permissions: {0} +permission_template.edit_permissions=Edit Permissions: {0} permission_template.update_permissions=Save permission_template.no_results=No template to display -permission_template.set_default_templates=Set default templates +permission_template.set_default_templates=Set Default Templates #------------------------------------------------------------------------------ diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb index 0f3cef7d045..fc6b7231b65 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb @@ -1,3 +1,5 @@ +

<%= message 'roles.page' -%>

+ <%= render :partial => 'roles/tabs', :locals => {:selected_tab=>'Permission templates'} %>
@@ -10,7 +12,6 @@ <%= link_to message('create'), {:action => :create_form}, :id => 'create-link-permission-template', :class => 'open-modal link-action' %> -

Available templates

diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb index 28db709d40d..4b9d4d4c5a5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb @@ -19,7 +19,7 @@ <% else %>