Sha256: c31726ad793dc5f7892786101ed955f02c796812a5b3824e0818a2ce59b85d0f

Contents?: true

Size: 172 Bytes

Versions: 28

Compression:

Stored size: 172 Bytes

Contents

# frozen_string_literal: true

module DiskHelper
  def mark_disabled_bootdisk_type(type)
    return '' if Setting::Bootdisk.allowed_types&.include?(type)
    '*'
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
foreman_bootdisk-22.0.2 app/helpers/disk_helper.rb
foreman_bootdisk-22.0.1 app/helpers/disk_helper.rb
foreman_bootdisk-22.0.0 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.6 app/helpers/disk_helper.rb
foreman_bootdisk-21.2.3 app/helpers/disk_helper.rb
foreman_bootdisk-21.2.2 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.5 app/helpers/disk_helper.rb
foreman_bootdisk-21.2.1 app/helpers/disk_helper.rb
foreman_bootdisk-21.2.0 app/helpers/disk_helper.rb
foreman_bootdisk-21.1.0 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.9 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.4 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.3 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.8 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.2 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.7 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.1 app/helpers/disk_helper.rb
foreman_bootdisk-21.0.0 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.6 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.4.1 app/helpers/disk_helper.rb