Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Parent EMS Cloud Title on Storage Pages #11726

Conversation

jerryk55
Copy link
Member

@jerryk55 jerryk55 commented Oct 5, 2016

Six pages added or modified recently for Cloud Storage and Storage Manager pages
mis-titled the link to the Cloud Manager. It defaulted to "Parent ems cloud" and
should be "Parent Cloud Provider".

Here is an image of the relevant relationship field for a Cloud Object Store Object.

screen shot 2016-10-05 at 4 30 43 pm

The pages changed were:

  1. Cinder and Swift Storage Managers
  2. Cloud Volumes
  3. Cloud Volume Backups
  4. Cloud Volume Snapshots
  5. Cloud Object Store Containers
  6. Cloud Object Store Objects

@h-kataria @dclarizio @roliveri please review and merge. Thanks.

@jerryk55
Copy link
Member Author

jerryk55 commented Oct 6, 2016

@dclarizio @h-kataria changed to use ui_lookup to obtain the title string.

Six pages added or modified recently for Cloud Storage and Storage Manager pages
mis-titled the link to the Cloud Manager.  It defaulted to "Parent ems cloud" and
should be "Parent Cloud Provider".
Based on (out-of-band) review comments from @h-kataria, the title string
was changed to that returned from a call to ui_lookup for the CloudManager model.
@jerryk55 jerryk55 force-pushed the Fix_Parent_Ems_Cloud_Title_on_Storage_Mgr_Pages branch from 17a9428 to 79a6ddb Compare October 6, 2016 15:42
@jerryk55
Copy link
Member Author

jerryk55 commented Oct 6, 2016

@dclarizio @h-kataria fixed to now do the ui_lookup on the model instead of using a table lookup based on the parent object. The parent object results in a string that is too long - "Parent Cloud Provider (Openstack)". Using the model "ManageIQ::Providers::CloudManager" results in the string "Parent Cloud Provider". This is ready to rock and roll.

@miq-bot
Copy link
Member

miq-bot commented Oct 6, 2016

Checked commits jerryk55/manageiq@38a4c93~...79a6ddb with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
6 files checked, 0 offenses detected
Everything looks good. 🏆

@h-kataria
Copy link
Contributor

looks good

@h-kataria h-kataria added this to the Sprint 48 Ending Oct 24, 2016 milestone Oct 6, 2016
@h-kataria h-kataria merged commit 2ebb35f into ManageIQ:master Oct 6, 2016
chessbyte pushed a commit that referenced this pull request Oct 13, 2016
…_Storage_Mgr_Pages

Fix Parent EMS Cloud Title on Storage Pages
(cherry picked from commit 2ebb35f)
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log
commit 53e1abad1c3e74578022d961c2f5a79fc18e6352
Author: Harpreet Kataria <hkataria@redhat.com>
Date:   Thu Oct 6 13:01:34 2016 -0400

    Merge pull request #11726 from jerryk55/Fix_Parent_Ems_Cloud_Title_on_Storage_Mgr_Pages

    Fix Parent EMS Cloud Title on Storage Pages
    (cherry picked from commit 2ebb35fb7aba59fb11e96a3d1b9b33c44782d449)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants