Sha256: a7a25c27a93e800093b95f3afbbe4e75fd7a4b0520db6e6b8a2cc6d410e3cf11

Contents?: true

Size: 394 Bytes

Versions: 5

Compression:

Stored size: 394 Bytes

Contents

module HostgroupsHelper
  include CommonParametersHelper
  include HostsAndHostgroupsHelper

  def warning_message group
    msg = [_("Are you sure?")]
    if group.has_children?
      msg << _("This group has nested groups!") + "\n"
      msg << _("Deleting this group will unlink its nested groups and any associated puppet classes and / or parameters")
    end
    msg.join("\n")
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/helpers/hostgroups_helper.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/helpers/hostgroups_helper.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/helpers/hostgroups_helper.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/helpers/hostgroups_helper.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/helpers/hostgroups_helper.rb