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 missing paging in provisioning template selection #5149

Merged
merged 1 commit into from
Jan 10, 2019
Merged

Fix missing paging in provisioning template selection #5149

merged 1 commit into from
Jan 10, 2019

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Jan 10, 2019

Compute -> clouds -> providers -> select cloud_provider(Openstack/Amazon) -> instances -> lifecycle -> provision instances
(or go to /miq_request/pre_prov?template_klass=cloud directly)

there is a GTL with a list of templates,
but thanks to @in_a_form = true (and center_div_no_listnav checking both layout_uses_paging? && !@in_a_form),
that means no paging toolbar.

That was correct when this was not using the GTL component but no longer, removing.

(The screen was converted to use GTL in #4509, adding hammer/yes.)

Cc @PanSpagetka
Cc @Pratik1Awchat

(A workaround for this is running $('#paging_div').show(); miqInitMainContent() in the browser console on that screen.)

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

go to `/miq_request/pre_prov?template_klass=cloud`

there is a GTL with a list of templates,
but thanks to `@in_a_form = true` (and `center_div_no_listnav` checking both `layout_uses_paging? && !@in_a_form`),
that means no paging toolbar.

That was correct when this was not using the GTL component but no longer, removing.
@miq-bot
Copy link
Member

miq-bot commented Jan 10, 2019

Checked commit https://github.com/himdel/manageiq-ui-classic/commit/60c5e9717ac6333dcd899f61080ae15c3b10fd78 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@martinpovolny martinpovolny merged commit 5f6a670 into ManageIQ:master Jan 10, 2019
@martinpovolny martinpovolny self-assigned this Jan 10, 2019
@martinpovolny martinpovolny added this to the Sprint 103 Ending Jan 21, 2019 milestone Jan 10, 2019
@himdel himdel deleted the pre-prov-paging branch January 11, 2019 09:28
simaishi pushed a commit that referenced this pull request Jan 14, 2019
Fix missing paging in provisioning template selection

(cherry picked from commit 5f6a670)

https://bugzilla.redhat.com/show_bug.cgi?id=1665908
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
commit 93aeb5552460b091e1355e3bc18d01133083f54d
Author: Martin Povolny <mpovolny@redhat.com>
Date:   Thu Jan 10 19:12:16 2019 +0100

    Merge pull request #5149 from himdel/pre-prov-paging
    
    Fix missing paging in provisioning template selection
    
    (cherry picked from commit 5f6a670818d11ea1a5ab87b25d07ce6cbcaa150b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1665908

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.

4 participants