Project

General

Profile

Actions

Bug #24129

closed

Hide link to "Add subscriptions" when no manifest is uploaded

Added by Tomáš Strachota over 6 years ago. Updated over 6 years ago.

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

Description

When no manifest is uploaded the subscriptions page still shows "Add subscription" buttons. Clicking on them takes users to the add subscription page showing empty view with:
  • text saying "There are no Subscription Allocations to display" and wrong link to docs
  • a button "New subscription allocation" with a wrong link too
    Both informations are misleading. No allocation can be added until a manifest is imported. The empty view doesn't make much sense on this page.
Proposed solution:
When no manifest is imported:
  • Disable "Add subscription" button in the top right toolbar with an appropriate tooltip message.
  • Show different empty view on the subscriptions page saying "Import a Manifest to manage your Entitlements" or something similar and show "Manage Manifest" button (opening the corresponding modal on click) instead of "Add Subscriptions".
  • Change the text in the add subscriptions empty view to something similar to the previous bullet. Hide the action button there.

By that the add subscriptions page should be effectively cut out when there's no manifest. The empty view for add subscriptions should be changed anyway, just in case.

Actions #1

Updated by Tomáš Strachota over 6 years ago

  • Bugzilla link set to 1596880
Actions #2

Updated by Walden Raines over 6 years ago

  • Target version changed from 253 to Katello 3.7.0
  • Triaged set to No
Actions #3

Updated by Walden Raines over 6 years ago

  • Assignee set to Walden Raines
Actions #4

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/Katello/katello/pull/7516 added
Actions #5

Updated by Justin Sherrill over 6 years ago

  • Target version changed from Katello 3.7.0 to Katello 3.7.1
Actions #6

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
Actions #7

Updated by Walden Raines over 6 years ago

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

Also available in: Atom PDF