-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Relationships on Configuration Manager, Profile and Configure System summary screen listnavs - Updated Configured summary screen to show Relationships box.
- Loading branch information
Showing
5 changed files
with
60 additions
and
19 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,14 @@ | |
|
||
= miq_accordion_panel(_("Relationships"), false, "stack_rel") do | ||
%ul.nav.nav-pills.nav-stacked | ||
- if role_allows?(:feature => "configuration_manager_show") && [email protected]_manager.nil? | ||
%li | ||
= link_to(_("Configuration Manager: %{name}") % {:name => @record.configuration_manager.name}, | ||
{:controller => "configuration_manager", :action => 'show', :id => @record.configuration_manager.id}, | ||
:title => _("Show parent Configuration Manager for this Configuration Profile")) | ||
- if role_allows?(:feature => "configured_system_show_list") | ||
= li_link(:count => @record.number_of(:configured_systems), | ||
:record_id => @record.id, | ||
:tables => 'configured_systems', | ||
:display => 'configured_systems', | ||
:action => 'show') |
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 |
---|---|---|
|
@@ -12,3 +12,13 @@ | |
|
||
= miq_accordion_panel(_("Relationships"), false, "stack_rel") do | ||
%ul.nav.nav-pills.nav-stacked | ||
- if role_allows?(:feature => "configuration_manager_show") && [email protected]_manager.nil? | ||
%li | ||
= link_to(_("Configuration Manager: %{name}") % {:name => @record.configuration_manager.name}, | ||
{:controller => "configuration_manager", :action => 'show', :id => @record.configuration_manager.id}, | ||
:title => _("Show parent Configuration Manager for this Configured System")) | ||
- if role_allows?(:feature => "configuration_profile_show") && [email protected]_profile.nil? | ||
%li | ||
= link_to(_("Configuration Profile: %{name}") % {:name => @record.configuration_profile.name}, | ||
{:controller => "configuration_profile", :action => 'show', :id => @record.configuration_profile.id}, | ||
:title => _("Show parent Configuration Profile for this Configured System")) |