% title _("Changed environments") %> <%= form_tag controller.send("obsolete_and_new_#{controller_name}_path") do %>
<%= link_to_function(icon_text("check"), "toggleCheckboxesBySelector('.env_select_boxes')", :title => _("Check/Uncheck all")) %> | <%= _("Environment") %> | <%= _("Operation") %> | <%= _("Puppet Modules") %> | ||
---|---|---|---|---|---|
<%= check_box_tag "changed[#{kind}][#{env}]", @changed[kind][env].to_json, false, :class => "env_select_boxes env_select_boxes_#{kind} env_select_boxes_env_#{env}" %> | <%= link_to_function("#{env}", "toggleCheckboxesBySelector('.env_select_boxes_env_#{env}')", :title => _("Check/Uncheck all %s changes") % env) %> | <% else %><%= env %> | <% end %><%= {"new" => _("Add:"), "obsolete" => _("Remove:"), "updated" => _("Update:"), "ignored" => _("Ignored:")}[kind] %> | <% pcs = @changed[kind][env] %> <%= class_update_text pcs, env %> |