Skip to content

Commit

Permalink
Merge pull request #7608 from himdel/textual-summary-fix
Browse files Browse the repository at this point in the history
print/textual_summary: remove provider_foreman code
  • Loading branch information
h-kataria authored Jan 28, 2021
2 parents 60abc4f + 5cead97 commit 0812ddf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/views/layouts/print/textual_summary.html.haml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
- controller = %w(miq_template vm_infra vm_or_template vm).include?(controller_name) ? "vm_common" : controller_name
- if @record.kind_of?(ConfigurationProfile)
= render :partial => "#{controller}/main_configuration_profile"
- elsif @record.kind_of?(ManageIQ::Providers::AutomationManager::InventoryGroup)
= render :partial => "#{controller}/main_inventory_group"
- if @record.kind_of?(ManageIQ::Providers::AutomationManager::InventoryGroup)
= render :partial => "automation_manager/main_inventory_group"
- elsif @record.kind_of?(ManageIQ::Providers::AnsibleTower::AutomationManager::ConfigurationWorkflow) || @record.kind_of?(ConfigurationScript)
= render :partial => "#{controller}/configuration_script"
= render :partial => "automation_manager/configuration_script"
- else
= render :partial => "layouts/textual_groups_generic"

0 comments on commit 0812ddf

Please sign in to comment.