diff options
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/members/_new_form.html.erb | 2 | ||||
-rw-r--r-- | app/views/principal_memberships/_new_form.html.erb | 4 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f2bb2a965..fd8da95d9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1272,7 +1272,7 @@ module ApplicationHelper link_to_function '', "toggleCheckboxesBySelector('#{selector}')", :title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}", - :class => 'toggle-checkboxes' + :class => 'icon icon-checked' end def progress_bar(pcts, options={}) diff --git a/app/views/members/_new_form.html.erb b/app/views/members/_new_form.html.erb index 3fe9187d1..8d5f6053b 100644 --- a/app/views/members/_new_form.html.erb +++ b/app/views/members/_new_form.html.erb @@ -7,7 +7,7 @@ </div> </fieldset> <fieldset class="box"> - <legend><%= l(:label_role_plural) %> <%= toggle_checkboxes_link('.roles-selection input') %></legend> + <legend><%= toggle_checkboxes_link('.roles-selection input') %> <%= l(:label_role_plural) %></legend> <div class="roles-selection"> <% User.current.managed_roles(@project).each do |role| %> <label><%= check_box_tag 'membership[role_ids][]', role.id, false, :id => nil %> <%= role %></label> diff --git a/app/views/principal_memberships/_new_form.html.erb b/app/views/principal_memberships/_new_form.html.erb index c49d84993..290e1dd60 100644 --- a/app/views/principal_memberships/_new_form.html.erb +++ b/app/views/principal_memberships/_new_form.html.erb @@ -1,5 +1,5 @@ <fieldset class="box"> - <legend><%= l(:label_project_plural) %> <%= toggle_checkboxes_link('.projects-selection input:enabled') %></legend> + <legend><%= toggle_checkboxes_link('.projects-selection input:enabled') %> <%= l(:label_project_plural) %></legend> <div class="objects-selection"> <div class="projects-selection"> <%= render_project_nested_lists(@projects) do |p| %> @@ -12,7 +12,7 @@ </fieldset> <fieldset class="box"> - <legend><%= l(:label_role_plural) %> <%= toggle_checkboxes_link('.roles-selection input') %></legend> + <legend><%= toggle_checkboxes_link('.roles-selection input') %><%= l(:label_role_plural) %></legend> <div class="roles-selection"> <% @roles.each do |role| %> <label> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 6a8a1962c..12443df78 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -140,8 +140,6 @@ a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repea a#toggle-completed-versions {color:#999;} -a.toggle-checkboxes { margin-left: 5px; padding-left: 12px; background: url(../images/toggle_check.png) no-repeat 0% 50%; } - /***** Dropdown *****/ .drdn {position:relative;} .drdn-trigger { |