diff --git a/app/helpers/quadicon_helper.rb b/app/helpers/quadicon_helper.rb index 6ed10d146ac..4de63d67626 100644 --- a/app/helpers/quadicon_helper.rb +++ b/app/helpers/quadicon_helper.rb @@ -528,7 +528,7 @@ def render_host_quadicon(item, options) end output << content_tag(:div, :class => 'flobj') do - title = _("Name: %{name} | Hostname: %{hostname}") % {:name => h(item.name), :hostname => h(item.hostname)} + title = _("Name: %{name} Hostname: %{hostname}") % {:name => h(item.name), :hostname => h(item.hostname)} link_to(href, :title => title) do quadicon_reflection_img @@ -617,7 +617,7 @@ def render_ext_management_system_quadicon(item, options) output << flobj_img_simple("layout/reflection.png") else output << content_tag(:div, :class => 'flobj') do - title = _("Name: %{name} | Hostname: %{hostname} | Refresh Status: %{status}") % + title = _("Name: %{name} Hostname: %{hostname} Refresh Status: %{status}") % {:name => h(item.name), :hostname => h(item.hostname), :status => h(item.last_refresh_status.titleize)} @@ -810,7 +810,7 @@ def quadicon_storage_link_options def quadicon_storage_img_options(item) opts = { - :title => _("Name: %{name} | Datastore Type: %{storage_type}") % {:name => h(item.name), :storage_type => h(item.store_type)} + :title => _("Name: %{name} Datastore Type: %{storage_type}") % {:name => h(item.name), :storage_type => h(item.store_type)} } opts diff --git a/spec/helpers/quadicon_helper_spec.rb b/spec/helpers/quadicon_helper_spec.rb index 1b40361063d..a34e36a3086 100644 --- a/spec/helpers/quadicon_helper_spec.rb +++ b/spec/helpers/quadicon_helper_spec.rb @@ -71,7 +71,7 @@ RSpec.shared_examples :storage_name_type_title do it 'has a title with name and type' do - expect(subject).to include("Name: #{item.name} | Datastore Type: VMFS") + expect(subject).to include("Name: #{item.name} Datastore Type: VMFS") end end