-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fixed quadicon link for automation providers #840
Fixed quadicon link for automation providers #840
Conversation
@miq-bot add_label bug, fine/yes |
1d25a0c
to
aa480b8
Compare
c9bdea8
to
ea99233
Compare
This pull request is not mergeable. Please rebase and repush. |
d8f0b87
to
f581f91
Compare
878dcd9
to
bcde536
Compare
@dclarizio - please review |
@miq-bot add_label euwe/no |
bcde536
to
6db1040
Compare
app/views/layouts/show_pdf.html.haml
Outdated
@@ -4,7 +4,7 @@ | |||
= render_quadicon(@record, :mode => :icon, :size => 72) | |||
- if @record.kind_of?(ConfigurationProfile) | |||
= render :partial => "#{controller}/main_configuration_profile" | |||
- elsif @record.kind_of?(ManageIQ::Providers::AutomationManager::InventoryGroup) | |||
- elsif @record.kind_of?(ManageIQ::Providers::ExternalAutomationManager::InventoryGroup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this also supposed to be InventoryRootGroup
? I don't really know what this file does, but we only refresh InventoryRootGroup
s right now.
@@ -225,6 +225,11 @@ | |||
expect(subject).to eq(helper.url_for_db(helper.controller_for_vm(helper.model_for_vm(@record)), @action)) | |||
end | |||
|
|||
it "when record is ManageIQ::Providers::AutomationManager" do | |||
@record = ManageIQ::Providers::AutomationManager.new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be testing against base classes or the leaf classes that will actually be created?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lgalis you have two merge commits in this branch. It looks like you don't have pull.rebase = true
in your .gitconfig
cdc670a
to
9bdf0a8
Compare
@mzazrivec - would you be able to review this? |
@miq-bot assign @dclarizio |
9bdf0a8
to
e594ecc
Compare
Checked commits lgalis/manageiq-ui-classic@cdc757c~...e594ecc with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
…witching_view_type Fixed quadicon link for automation providers (cherry picked from commit 6f5c40f) https://bugzilla.redhat.com/show_bug.cgi?id=1442174
Fine backport details:
|
Fixes the switch to grid view for Ansible Tower Provider.
Also Fixes the link to the Inventory group list from the provider quadicon.
Depends on ManageIQ/manageiq#14691
https://bugzilla.redhat.com/show_bug.cgi?id=1427926