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

Datastore selection flash message fix #559

Merged
merged 1 commit into from Mar 2, 2017

Conversation

GregP
Copy link
Contributor

@GregP GregP commented Mar 2, 2017

Corrected flash message text when selecting datastore filter for display

https://bugzilla.redhat.com/show_bug.cgi?id=1398744

Screen shots before and after attached below:

Before:
selected datastore flash msg prior to fix
After:
selected datastore flash msg post fix

@GregP
Copy link
Contributor Author

GregP commented Mar 2, 2017

@h-kataria Please review.

@@ -32,7 +32,7 @@ def storage_list
def miq_search_node
options = {:model => "Storage"}
process_show_list(options)
@right_cell_text = _("All %{title} Datastores") % {:title => ui_lookup(:ui_title => "datastore")}
@right_cell_text = _("All Datastores") % {:title => ui_lookup(:ui_title => "datastore")}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GregP remove setting of :title it is not being used.
the change should be

@right_cell_text = _("All Datastores")

or

@right_cell_text = _("All %{title}") % {:title => ui_lookup(:models => 'datastore'}

@chessbyte chessbyte added the bug label Mar 2, 2017
Corrected flash message text when selecting datastore filter for display

https://bugzilla.redhat.com/show_bug.cgi?id=1398744
@GregP GregP force-pushed the datastore_filter_display_msg branch from 5642947 to 7caa244 Compare March 2, 2017 20:10
@GregP
Copy link
Contributor Author

GregP commented Mar 2, 2017

@h-kataria Please review.

@miq-bot
Copy link
Member

miq-bot commented Mar 2, 2017

Checked commit GregP@7caa244 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks good. 🏆

@h-kataria
Copy link
Contributor

looks good

@h-kataria h-kataria added this to the Sprint 56 Ending Mar 13, 2017 milestone Mar 2, 2017
@h-kataria h-kataria merged commit 3a5c784 into ManageIQ:master Mar 2, 2017
@simaishi
Copy link
Contributor

simaishi commented Mar 9, 2017

Euwe backport (to manageiq repo) details:

$ git log -1
commit de45f2b8a3fcd2b64b4ca0d89e4b63701ffc9042
Author: Harpreet Kataria <hkataria@redhat.com>
Date:   Fri Mar 3 01:59:19 2017 +0530

    Merge pull request #559 from GregP/datastore_filter_display_msg
    
    Datastore selection flash message fix
    (cherry picked from commit 3a5c784ebd59aff17fb97cb17e29ddf7139318e2)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1428895

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