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.7.3 app/helpers/katello/taxonomy_helper.rb
katello-4.7.2 app/helpers/katello/taxonomy_helper.rb
katello-4.7.1 app/helpers/katello/taxonomy_helper.rb
katello-4.6.2.1 app/helpers/katello/taxonomy_helper.rb
katello-4.6.2 app/helpers/katello/taxonomy_helper.rb
katello-4.7.0 app/helpers/katello/taxonomy_helper.rb
katello-4.6.1 app/helpers/katello/taxonomy_helper.rb
katello-4.7.0.rc2 app/helpers/katello/taxonomy_helper.rb
katello-4.7.0.rc1 app/helpers/katello/taxonomy_helper.rb
katello-4.4.2.2 app/helpers/katello/taxonomy_helper.rb
katello-4.4.2.1 app/helpers/katello/taxonomy_helper.rb
katello-4.4.2 app/helpers/katello/taxonomy_helper.rb
katello-4.5.1 app/helpers/katello/taxonomy_helper.rb
katello-4.6.0 app/helpers/katello/taxonomy_helper.rb
katello-4.6.0.rc2 app/helpers/katello/taxonomy_helper.rb
katello-4.6.0.rc1 app/helpers/katello/taxonomy_helper.rb
katello-4.5.0 app/helpers/katello/taxonomy_helper.rb
katello-4.5.0.rc2 app/helpers/katello/taxonomy_helper.rb
katello-4.4.1 app/helpers/katello/taxonomy_helper.rb
katello-4.5.0.rc1 app/helpers/katello/taxonomy_helper.rb