Sha256: 7c444aa66c705500bdc3e7b13c4d39bb1795dd6e9823cede0d6a673b609f0119

Contents?: true

Size: 725 Bytes

Versions: 105

Compression:

Stored size: 725 Bytes

Contents

module Katello
  module Concerns
    module HostsAndHostgroupsHelperExtensions
      extend ActiveSupport::Concern

      module Overrides
        def puppet_environment_field(form, environments_choice, select_options = {}, html_options = {})
          html_options.merge!(
            :label => _("Puppet Environment"),
            'data-content_puppet_match' => (@host || @hostgroup).new_record? || (@host || @hostgroup).content_and_puppet_match?,
            :help_inline => link_to(_("Reset Puppet Environment"), '#', :id => 'reset_puppet_environment'))
          super(form, environments_choice, select_options, html_options)
        end
      end
      included do
        prepend Overrides
      end
    end
  end
end

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
katello-4.0.3 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.5 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.2.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.2 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.4 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.1.2 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.3.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.1.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.3 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.0 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.0.rc3.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.0.rc3 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.2.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.2 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.17.3 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.0.rc2 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.18.1.1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-3.17.2 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb
katello-4.0.0.rc1 app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb