diff --git a/app/helpers/vm_helper/textual_summary.rb b/app/helpers/vm_helper/textual_summary.rb index ad0aef06447..2451bbfcc1b 100644 --- a/app/helpers/vm_helper/textual_summary.rb +++ b/app/helpers/vm_helper/textual_summary.rb @@ -23,7 +23,7 @@ def textual_group_properties TextualGroup.new( _("Properties"), %i( - name region server description hostname ipaddress custom_1 container host_platform + name region server description hostname ipaddress mac_address custom_1 container host_platform tools_status load_balancer_health_check_state osinfo devices cpu_affinity snapshots advanced_settings resources guid storage_profile ) @@ -148,6 +148,11 @@ def textual_ipaddress h end + def textual_mac_address + macs = @record.mac_addresses + {:label => n_("MAC Address", "MAC Addresses", macs.size), :value => macs.join(", ")} + end + def textual_load_balancer_health_check_state return nil if @record.try(:load_balancer_health_check_states).blank? h = {:label => _("Load Balancer Status"),