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