Sha256: 93136feb6c2427f32bd99c2eb52d51d81511f3a6be9b76ef7eceb76ff7a023ad

Contents?: true

Size: 459 Bytes

Versions: 248

Compression:

Stored size: 459 Bytes

Contents

module Katello
  # The TaxonomyHelper contains extensions to the core application's
  # TaxonomyHelper
  module TaxonomyHelper
    def service_level_options
      options = @taxonomy.service_levels.collect { |level| [_("Service Level %s") % level, level] }
      options.unshift([_("No Service Level Preference"), ""])
      options
    end

    def service_level_selected
      @taxonomy.service_level.blank? ? "" : @taxonomy.service_level
    end
  end
end

Version data entries

248 entries across 248 versions & 1 rubygems

Version Path
katello-4.2.0.rc2 app/helpers/katello/taxonomy_helper.rb
katello-4.1.3 app/helpers/katello/taxonomy_helper.rb
katello-4.2.0.rc1 app/helpers/katello/taxonomy_helper.rb
katello-4.0.2.1 app/helpers/katello/taxonomy_helper.rb
katello-4.1.2.1 app/helpers/katello/taxonomy_helper.rb
katello-4.0.2 app/helpers/katello/taxonomy_helper.rb
katello-4.1.2 app/helpers/katello/taxonomy_helper.rb
katello-3.18.4 app/helpers/katello/taxonomy_helper.rb
katello-4.1.1 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0 app/helpers/katello/taxonomy_helper.rb
katello-4.0.1.2 app/helpers/katello/taxonomy_helper.rb
katello-3.18.3.1 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0.rc2.2 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0.rc2.1 app/helpers/katello/taxonomy_helper.rb
katello-4.0.1.1 app/helpers/katello/taxonomy_helper.rb
katello-3.18.3 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0.rc2 app/helpers/katello/taxonomy_helper.rb
katello-4.0.1 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0.rc1.1 app/helpers/katello/taxonomy_helper.rb
katello-4.1.0.rc1 app/helpers/katello/taxonomy_helper.rb