diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2013-12-09 12:57:23 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2013-12-09 12:57:23 +0600 |
commit | 371edebccb81d1f6c0656ad53fe0a8201b463139 (patch) | |
tree | cf70f8ef63106bddd44e076c65bbb078f57c092f | |
parent | b82ff4346df1a429a8b095a99ae942447e409060 (diff) | |
download | sonarqube-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.rb | 4 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb | 4 |
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> |