Actions
Feature #35044
openDon't show Red Hat repositories button for Debian hosts
Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
-
Description
On the new host details page Repository sets and Module streams tabs, if a user doesn't have any, the empty state has a link to 'Red Hat repositories' as a primary action and 'Create custom product' as a secondary action.
For non-RHEL users, this is not relevant. 'Create custom product' should be the primary and only action.
- use host details operatingsystem_name value to determine host OS
- see https://github.com/Katello/katello/blob/master/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host.factory.js#L30 for similar example
original GH discussion at https://github.com/Katello/katello/pull/10144#issuecomment-1149099245
Actions