aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2013-12-09 12:57:23 +0600
committerStas Vilchik <vilchiks@gmail.com>2013-12-09 12:57:23 +0600
commit371edebccb81d1f6c0656ad53fe0a8201b463139 (patch)
treecf70f8ef63106bddd44e076c65bbb078f57c092f
parentb82ff4346df1a429a8b095a99ae942447e409060 (diff)
downloadsonarqube-371edebccb81d1f6c0656ad53fe0a8201b463139.tar.gz
sonarqube-371edebccb81d1f6c0656ad53fe0a8201b463139.zip
Make width of modal windows for managing rights & permissions the same
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb
index 9feaf83f7ea..a8469d4cf0a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb
@@ -88,12 +88,12 @@ module RolesHelper
def link_to_edit_roles_permission_form(label, role, resource_id, html_id)
link_to message(label), {:controller => :roles, :action => :edit_users, :role => role, :resource => resource_id},
- :id => html_id, :class => 'open-modal link-action nowrap', 'modal-width' => '780px'
+ :id => html_id, :class => 'open-modal link-action nowrap', 'modal-width' => '540px'
end
def link_to_edit_groups_permission_form(label, role, resource_id, html_id)
link_to message(label), {:controller => :roles, :action => :edit_groups, :role => role, :resource => resource_id},
- :id => html_id, :class => 'open-modal link-action nowrap', 'modal-width' => '780px'
+ :id => html_id, :class => 'open-modal link-action nowrap', 'modal-width' => '540px'
end
end
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 3883797d541..980b4ef6f9f 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
@@ -58,10 +58,10 @@
%>
<span id="u-<%= permission -%>-<%= u permission_template.key -%>"><%= users.join(', ') %></span>
(<%= link_to message('select users'), {:action => :edit_users, :key => permission_template.key, :permission => permission},
- :id => "select-u-#{permission}-#{u permission_template.key}", :class => 'open-modal link-action nowrap', 'modal-width' => '780px' %>)<br/>
+ :id => "select-u-#{permission}-#{u permission_template.key}", :class => 'open-modal link-action nowrap', 'modal-width' => '540px' %>)<br/>
<span id="g-<%= permission -%>-<%= u permission_template.key -%>"><%= groups.join(', ') %></span>
(<%= link_to message('select groups'), {:action => :edit_groups, :key => permission_template.key, :permission => permission},
- :id => "select-g-#{permission}-#{u permission_template.key}", :class => 'open-modal link-action nowrap', 'modal-width' => '780px' %>)<br/>
+ :id => "select-g-#{permission}-#{u permission_template.key}", :class => 'open-modal link-action nowrap', 'modal-width' => '540px' %>)<br/>
</td>
<% end %>
<td>