Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2783 from lgalis/tagging_based_on_ansible_provide…
…r_node Fix Ansible Tower provider node tagging to take into account the selected node model
- Loading branch information
Showing
11 changed files
with
85 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...figured_system/automation_policy_mixin.rb → ...figured_system/automation/policy_mixin.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lbar/configured_system/lifecycle_mixin.rb → ...figured_system/foreman/lifecycle_mixin.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...toolbar/configured_system/policy_mixin.rb → ...configured_system/foreman/policy_mixin.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/helpers/application_helper/toolbar/configured_systems_ansible_center.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class ApplicationHelper::Toolbar::ConfiguredSystemsAnsibleCenter < ApplicationHelper::Toolbar::Basic | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::PolicyMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::Automation::PolicyMixin | ||
end |
4 changes: 2 additions & 2 deletions
4
app/helpers/application_helper/toolbar/configured_systems_center.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class ApplicationHelper::Toolbar::ConfiguredSystemsCenter < ApplicationHelper::Toolbar::Basic | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::LifecycleMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::PolicyMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::Foreman::LifecycleMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::Foreman::PolicyMixin | ||
end |
4 changes: 2 additions & 2 deletions
4
app/helpers/application_helper/toolbar/unassigned_profiles_group_center.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class ApplicationHelper::Toolbar::UnassignedProfilesGroupCenter < ApplicationHelper::Toolbar::Basic | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::LifecycleMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::PolicyMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::Foreman::LifecycleMixin | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::Foreman::PolicyMixin | ||
end |
21 changes: 20 additions & 1 deletion
21
...application_helper/toolbar/x_automation_manager_ansible_tower_configured_system_center.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
class ApplicationHelper::Toolbar::XAutomationManagerAnsibleTowerConfiguredSystemCenter < ApplicationHelper::Toolbar::Basic | ||
include ApplicationHelper::Toolbar::ConfiguredSystem::AutomationPolicyMixin | ||
button_group('record_summary', [ | ||
select( | ||
:automation_manager_policy_choice, | ||
'fa fa-shield fa-lg', | ||
t = N_('Policy'), | ||
t, | ||
:enabled => true, | ||
:items => [ | ||
button( | ||
:configured_system_tag, | ||
'pficon pficon-edit fa-lg', | ||
N_('Edit Tags for this Configured System'), | ||
N_('Edit Tags'), | ||
:url => "tagging", | ||
:url_parms => "main_div", | ||
:send_checked => true, | ||
:enabled => true), | ||
] | ||
), | ||
]) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters