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-1.0.10 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.9 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.8 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.7 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.6 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.5 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.4 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.3 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.2 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.1 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-1.0.0 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.12.3 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.11.5 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.12.2 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.12.1 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.12.0 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.11.4 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.11.3 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.11.2 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
foreman_openscap-0.11.1 app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb