Sha256: 96124f40f52215890130538d708364a346a9ca63946db3ae81c0619255f25d1a

Contents?: true

Size: 812 Bytes

Versions: 22

Compression:

Stored size: 812 Bytes

Contents

module Katello
  module SystemPackagesHelper
    def adding_package
      _("Adding Package...")
    end

    def updating_package
      _("Updating Package...")
    end

    def removing_package
      _("Removing Package...")
    end

    def adding_package_group
      _("Adding Package Group...")
    end

    def removing_package_group
      _("Removing Package Group...")
    end

    def get_status_string(type)
      case type
      when "package_install"
        adding_package
      when "package_update"
        updating_package
      when "package_remove"
        removing_package
      when "package_group_install"
        adding_package_group
      when "package_group_remove"
        removing_package_group
      end
    end

    def row_shading
      @shading = cycle("", "alt")
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
katello-3.1.0.1 app/helpers/katello/system_packages_helper.rb
katello-3.1.0 app/helpers/katello/system_packages_helper.rb
katello-3.1.0.rc2.1 app/helpers/katello/system_packages_helper.rb
katello-3.0.2 app/helpers/katello/system_packages_helper.rb
katello-2.4.5 app/helpers/katello/system_packages_helper.rb
katello-3.1.0.rc1 app/helpers/katello/system_packages_helper.rb
katello-3.0.1 app/helpers/katello/system_packages_helper.rb
katello-2.4.4 app/helpers/katello/system_packages_helper.rb
katello-3.0.0 app/helpers/katello/system_packages_helper.rb
katello-2.4.3 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc7 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc5 app/helpers/katello/system_packages_helper.rb
katello-2.4.2 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc4 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc3 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc2 app/helpers/katello/system_packages_helper.rb
katello-3.0.0.rc1 app/helpers/katello/system_packages_helper.rb
katello-2.4.1 app/helpers/katello/system_packages_helper.rb
katello-2.4.0 app/helpers/katello/system_packages_helper.rb
katello-2.4.0.rc3 app/helpers/katello/system_packages_helper.rb