Sha256: b3300985aede427e964e1fc0b43dcde0fc260dfa903a0070b0ae65b7c48a7464
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
# # Copyright 2014 Red Hat, Inc. # # This software is licensed to you under the GNU General Public # License as published by the Free Software Foundation; either version # 2 of the License (GPLv2) or (at your option) any later version. # There is NO WARRANTY for this software, express or implied, # including the implied warranties of MERCHANTABILITY, # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should # have received a copy of GPLv2 along with this software; if not, see # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-2.2.2 | app/helpers/katello/system_packages_helper.rb |