diff --git a/app/assets/images/svg/currentstate-archived.svg b/app/assets/images/svg/currentstate-archived.svg
index 28a670f8fcd..f2feae59a98 100644
--- a/app/assets/images/svg/currentstate-archived.svg
+++ b/app/assets/images/svg/currentstate-archived.svg
@@ -1,14 +1,13 @@
diff --git a/app/assets/images/svg/currentstate-disconnected.svg b/app/assets/images/svg/currentstate-disconnected.svg
index 873b2e308bf..55aa045fb0f 100644
--- a/app/assets/images/svg/currentstate-disconnected.svg
+++ b/app/assets/images/svg/currentstate-disconnected.svg
@@ -1,15 +1,14 @@
diff --git a/app/assets/images/svg/currentstate-not_responding.svg b/app/assets/images/svg/currentstate-not_responding.svg
index 15d0ebfc39d..1cfa41d8041 100644
--- a/app/assets/images/svg/currentstate-not_responding.svg
+++ b/app/assets/images/svg/currentstate-not_responding.svg
@@ -3,11 +3,13 @@
diff --git a/app/assets/images/svg/currentstate-orphaned.svg b/app/assets/images/svg/currentstate-orphaned.svg
index 174d774ed10..4077e056089 100644
--- a/app/assets/images/svg/currentstate-orphaned.svg
+++ b/app/assets/images/svg/currentstate-orphaned.svg
@@ -1,15 +1,14 @@
diff --git a/app/assets/images/svg/currentstate-preparing_for_maintenance.svg b/app/assets/images/svg/currentstate-preparing_for_maintenance.svg
index 87c130ce0f6..1cad938a26f 100644
--- a/app/assets/images/svg/currentstate-preparing_for_maintenance.svg
+++ b/app/assets/images/svg/currentstate-preparing_for_maintenance.svg
@@ -3,17 +3,21 @@
diff --git a/app/assets/images/svg/currentstate-retired.svg b/app/assets/images/svg/currentstate-retired.svg
index 4078b095061..4a7fd4ad627 100644
--- a/app/assets/images/svg/currentstate-retired.svg
+++ b/app/assets/images/svg/currentstate-retired.svg
@@ -1,17 +1,16 @@
diff --git a/app/assets/images/svg/currentstate-standby.svg b/app/assets/images/svg/currentstate-standby.svg
index ffdec88aeeb..ed10df5bfdd 100644
--- a/app/assets/images/svg/currentstate-standby.svg
+++ b/app/assets/images/svg/currentstate-standby.svg
@@ -3,13 +3,20 @@
diff --git a/app/assets/images/svg/currentstate-template.svg b/app/assets/images/svg/currentstate-template.svg
index 6aa00a75625..22b10e90376 100644
--- a/app/assets/images/svg/currentstate-template.svg
+++ b/app/assets/images/svg/currentstate-template.svg
@@ -1,14 +1,13 @@
diff --git a/app/assets/images/svg/currentstate-unknown.svg b/app/assets/images/svg/currentstate-unknown.svg
deleted file mode 120000
index 7e906c7a1e1..00000000000
--- a/app/assets/images/svg/currentstate-unknown.svg
+++ /dev/null
@@ -1 +0,0 @@
-os-unknown.svg
\ No newline at end of file
diff --git a/app/assets/images/svg/currentstate-unknown.svg b/app/assets/images/svg/currentstate-unknown.svg
new file mode 100644
index 00000000000..c5bba4886c8
--- /dev/null
+++ b/app/assets/images/svg/currentstate-unknown.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/app/assets/images/svg/os-unknown.svg b/app/assets/images/svg/os-unknown.svg
index bc7101cb426..8ea0d6abb8c 100644
--- a/app/assets/images/svg/os-unknown.svg
+++ b/app/assets/images/svg/os-unknown.svg
@@ -1,18 +1,15 @@
diff --git a/app/assets/images/svg/vendor-unknown.svg b/app/assets/images/svg/vendor-unknown.svg
index 1c0fd2b3ea9..269abeab2d9 100644
--- a/app/assets/images/svg/vendor-unknown.svg
+++ b/app/assets/images/svg/vendor-unknown.svg
@@ -1,66 +1,18 @@
-
-
-
+
+
+
diff --git a/app/assets/stylesheets/template.scss b/app/assets/stylesheets/template.scss
index 045028a07f6..b8efa4be337 100644
--- a/app/assets/stylesheets/template.scss
+++ b/app/assets/stylesheets/template.scss
@@ -63,12 +63,6 @@ img.tiny { margin: 0; padding: 0;width:20px;height:20px; border: 0; vertical-ali
border-top-right-radius: 15px;
}
-.b72 img[src*="archived"], .b72 img[src*="template"], .b72 img[src*="disconnected"], .b72 img[src*="orphaned"], .b72 img[src*="never"], img[src*="retired"], .b72 img[src*="unknown"] {
- width: 24px;
- height: 24px;
- margin-left: 4px;
-}
-
.flobj { position: absolute;z-index: auto;width: 72px;}
.flobj p { margin: 5px 0 0 0;padding: 0;color: #e3e4e4;vertical-align: middle;text-align:center;text-transform: none;text-shadow: 0 0 3px #000;font: normal 16px OpenSansSemibold,Arial,Helvetica,sans-serif !important;}
.a72 { padding: 3px 0 0 5px; width: 28px; height: 28px;font-size: 1.3em;line-height: 1.8em;}
diff --git a/app/helpers/quadicon_helper.rb b/app/helpers/quadicon_helper.rb
index 4e38094d478..284d539e4bf 100644
--- a/app/helpers/quadicon_helper.rb
+++ b/app/helpers/quadicon_helper.rb
@@ -458,25 +458,8 @@ def render_resource_pool_quadicon(item, options)
def currentstate_icon(state)
path = "svg/currentstate-#{h(state)}.svg"
- if %w(
- retired
- standby
- unknown
- archived
- orphaned
- template
- disconnected
- install_failed
- not_responding
- non_operational
- template-no-host
- preparing_for_maintenance
- ).include?(state)
- flobj_img_simple(path, "b72")
- else
- content_tag(:div, :class => "flobj b72") do
- content_tag(:div, '', :class => "stretch", :style => "background-image: url('#{image_path(path)}')")
- end
+ content_tag(:div, :class => "flobj b72") do
+ content_tag(:div, '', :class => "stretch", :style => "background-image: url('#{image_path(path)}')")
end
end
diff --git a/spec/helpers/quadicon_helper_spec.rb b/spec/helpers/quadicon_helper_spec.rb
index 088db6753ab..d4df2504765 100644
--- a/spec/helpers/quadicon_helper_spec.rb
+++ b/spec/helpers/quadicon_helper_spec.rb
@@ -758,10 +758,6 @@
expect(host_quad).to include("0")
end
- it 'renders a quadicon with a state img' do
- expect(host_quad).to have_selector("img[src*='currentstate-archived']")
- end
-
include_examples :host_vendor_icon, "c"
it 'renders a quadicon with an auth status img' do
@@ -1124,10 +1120,6 @@
expect(vm_quad).to have_selector("img[src*='os-unknown']")
end
- it 'includes a state image' do
- expect(vm_quad).to have_selector("img[src*='currentstate-archived']")
- end
-
context "when lastaction is policy_sim" do
before(:each) do
@lastaction = "policy_sim"