Project

General

Profile

Bug #23735

Tabs not hidden on CV page when a repository type is Disabled

Added by Stephen Benjamin about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

With 'deb' repo types disabled, the tab still shows up on CV page. Source of the problem seems to be having ng-hide and show on same element:

ng-hide="contentView.composite" 
ng-show="repositoryTypeEnabled('deb')"

changing to just ng-hide makes it work:

ng-hide="contentView.composite || !repositoryTypeEnabled('file')"

Related issues

Related to Katello - Bug #22620: Support disabling individulal Content typesClosed

Associated revisions

Revision 913c33fe (diff)
Added by Stephen Benjamin about 3 years ago

fixes #23735 - only show cv tabs if repo type is enabled

History

#1 Updated by Stephen Benjamin about 3 years ago

  • Related to Bug #22620: Support disabling individulal Content types added

#2 Updated by The Foreman Bot about 3 years ago

  • Assignee set to Stephen Benjamin
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7403 added

#3 Updated by Stephen Benjamin about 3 years ago

  • Bugzilla link set to 1580144

#4 Updated by Andrew Kofink about 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#5 Updated by Stephen Benjamin about 3 years ago

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

Also available in: Atom PDF