Project

General

Profile

Actions

Bug #20714

closed

Content Host Installable Errata show wrong icons color when 0 applicable

Added by Dan Seethaler over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1484044

Description of problem:
Content Host Installable Errata show wrong icons color when 0 applicable

Version-Release number of selected component (if applicable):
  • candlepin-2.0.40-1.el7.noarch
  • candlepin-selinux-2.0.40-1.el7.noarch
  • foreman-1.15.3-1.el7sat.noarch
  • foreman-cli-1.15.3-1.el7sat.noarch
  • foreman-compute-1.15.3-1.el7sat.noarch
  • foreman-debug-1.15.3-1.el7sat.noarch
  • foreman-discovery-image-3.1.1-22.el7sat.noarch
  • foreman-ec2-1.15.3-1.el7sat.noarch
  • foreman-gce-1.15.3-1.el7sat.noarch
  • foreman-installer-1.15.2-1.el7sat.noarch
  • foreman-installer-katello-3.4.4-1.el7sat.noarch
  • foreman-libvirt-1.15.3-1.el7sat.noarch
  • foreman-openstack-1.15.3-1.el7sat.noarch
  • foreman-ovirt-1.15.3-1.el7sat.noarch
  • foreman-postgresql-1.15.3-1.el7sat.noarch
  • foreman-proxy-1.15.3-1.el7sat.noarch
  • foreman-rackspace-1.15.3-1.el7sat.noarch
  • foreman-selinux-1.15.3-1.el7sat.noarch
  • foreman-vmware-1.15.3-1.el7sat.noarch
  • katello-3.4.4-2.el7sat.noarch
  • katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-4.noarch
  • katello-certs-tools-2.4.0-1.el7sat.noarch
  • katello-client-bootstrap-1.4.0-1.el7sat.noarch
  • katello-common-3.4.4-2.el7sat.noarch
  • katello-debug-3.4.4-2.el7sat.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-base-3.4.4-1.el7sat.noarch
  • katello-selinux-3.0.2-1.el7sat.noarch
  • katello-server-ca-1.0-1.noarch
  • katello-service-3.4.4-2.el7sat.noarch
  • openldap-2.4.44-5.el7.x86_64
  • pulp-client-1.0-1.noarch
  • pulp-docker-plugins-2.4.0-2.el7sat.noarch
  • pulp-katello-1.0.2-1.el7sat.noarch
  • pulp-ostree-plugins-1.2.1-3.el7sat.noarch
  • pulp-puppet-plugins-2.13.3-1.el7sat.noarch
  • pulp-puppet-tools-2.13.3-1.el7sat.noarch
  • pulp-rpm-plugins-2.13.3-1.el7sat.noarch
  • pulp-selinux-2.13.3-1.el7sat.noarch
  • pulp-server-2.13.3-1.el7sat.noarch
  • python-ldap-2.4.15-2.el7.x86_64
  • tfm-rubygem-ldap_fluff-0.4.6-1.el7sat.noarch
  • tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Setup a content view and register it with activation key
do not install any package (so we should have no erratum installable)
2. Goto Hosts > Content Hosts
3. Select the registered content host

Actual results:
The actual Installable Errata show 0 in all section, but the icons shown blue color

Expected results:
The icons must be black color

Additional info:
as per the ng-class it must be black (but not applied):
<i class="fa fa-warning inline-icon" ng-class="{black: host.content_facet_attributes.errata_counts.security === 0, red: host.content_facet_attributes.errata_counts.security > 0}" title="Security"></i>
when there is installable errata the yellow and red colors are shown as expected

Actions #1

Updated by Dan Seethaler over 6 years ago

  • Assignee set to Dan Seethaler
Actions #2

Updated by Dan Seethaler over 6 years ago

  • Target version set to 208
Actions #3

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release set to 250
Actions #4

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6916 added
Actions #5

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF