summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2013-12-09 13:06:59 +0600
committerStas Vilchik <vilchiks@gmail.com>2013-12-09 13:06:59 +0600
commitc614d04c5e01301dc84fd54f709025b1ff40703a (patch)
treee0b4452f058a103cf2fe964453e0e30c25e3acea
parent371edebccb81d1f6c0656ad53fe0a8201b463139 (diff)
downloadsonarqube-c614d04c5e01301dc84fd54f709025b1ff40703a.tar.gz
sonarqube-c614d04c5e01301dc84fd54f709025b1ff40703a.zip
Show which permission is being edited
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_users.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb2
4 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb
index f28049e47af..6a12e9563ff 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb
@@ -1,5 +1,5 @@
<div class="modal-head">
- <h2><%= message('permission_template.edit_permissions', :params => @permission_template.name) -%></h2>
+ <h2><%= "Edit Permission #{message("projects_role.#{@permission}")} For: " + @permission_template.name -%></h2>
</div>
<div class="modal-body">
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_users.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_users.html.erb
index 401d3ea4988..294f254b7ec 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_users.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_users.html.erb
@@ -1,5 +1,5 @@
<div class="modal-head">
- <h2><%= message('permission_template.edit_permissions', :params => @permission_template.name) -%></h2>
+ <h2><%= "Edit Permission #{message("projects_role.#{@permission}")} For: " + @permission_template.name -%></h2>
</div>
<div class="modal-body">
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
index bf77a21f6c2..b19f387e095 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
@@ -1,5 +1,5 @@
<div class="modal-head">
- <h2><%= @project ? 'Edit Permissions For: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
+ <h2><%= @project ? "Edit Permission #{message("projects_role.#{@role}")} For: " + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
</div>
<div class="modal-body">
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
index 93966188109..3e2bad239c8 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
@@ -1,5 +1,5 @@
<div class="modal-head">
- <h2><%= @project ? 'Edit Permissions For: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
+ <h2><%= @project ? "Edit Permission #{message("projects_role.#{@role}")} For: " + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
</div>
<div class="modal-body">