Sha256: 1f4e028c9b6fff879fae253d8bd4d16f2aea92e5f8a9bcc4274ae85919b784a8

Contents?: true

Size: 505 Bytes

Versions: 27

Compression:

Stored size: 505 Bytes

Contents

module ForemanOpenscap
  module HostsHelperExtensions
    def multiple_actions
      super + [[_('Assign Compliance Policy'), select_multiple_hosts_policies_path],
                                       [_('Unassign Compliance Policy'), disassociate_multiple_hosts_policies_path],
                                       [_('Change OpenSCAP Proxy'), select_multiple_openscap_proxy_hosts_path]]
    end

    def name_column(record)
      record.nil? ? _('Host is deleted') : super(record)
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
foreman_openscap-0.11.0 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.10.4 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.10.3 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.10.2 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.10.1 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.9.3 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.10.0 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb