forked from ManageIQ/manageiq-ui-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_configuration_profile.html.haml
25 lines (23 loc) · 1.32 KB
/
_configuration_profile.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- if @record.try(:name)
#accordion.panel-group
= miq_accordion_panel(truncate(@record.name, :length => truncate_length), true, "icon") do
= render :partial => 'shared/quadicon', :locals => {:record => @record}
= miq_accordion_panel(_("Properties"), false, "stack_prop") do
%ul.nav.nav-pills.nav-stacked
%li
= link_to_with_icon(_('Summary'),
{:action => 'show', :id => @record, :display => 'main'},
:title => _("Show Summary"))
= miq_accordion_panel(_("Relationships"), false, "stack_rel") do
%ul.nav.nav-pills.nav-stacked
- if role_allows?(:feature => "ems_configuration_show") && [email protected]_manager.nil?
%li
= link_to(_("Configuration Manager: %{name}") % {:name => @record.configuration_manager.name},
{:controller => "ems_configuration", :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')