Skip to content

Commit

Permalink
changed png to svg and cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaysaMacedo committed Apr 27, 2017
1 parent 02d9009 commit 1a2c25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/quadicon_helper.rb
Expand Up @@ -260,7 +260,7 @@ def render_physical_server_quadicon(item, options)
end
end
end
safe_join(output.collect(&:html_safe))
safe_join(output)
end

# FIXME: Even better would be to ask the object what name to use
Expand Down Expand Up @@ -701,7 +701,7 @@ def render_single_quad_quadicon(item, options)

def img_for_health_state(item)
case item.health_state
when "Valid" then "100/healthstate-normal.png"
when "Valid" then "svg/healthstate-normal.svg"
when "Critical" then "svg/healthstate-critical.svg"
when "None" then "svg/healthstate-unknown.svg"
when "Warning" then "100/warning.png"
Expand Down

0 comments on commit 1a2c25b

Please sign in to comment.