class ServiceDecorator < MiqDecorator
  def self.fonticon
    'pficon pficon-service'
  end

  def fileicon
    try(:picture) ? "/pictures/#{picture.basename}" : "100/service.png"
  end
end

class ServiceDecorator < MiqDecorator
  def self.fonticon
    'pficon pficon-service'
  end

  def fileicon
    try(:picture) ? "/pictures/#{picture.basename}" : nil
  end

  def single_quad
    fileicon ? {:fileicon => fileicon} : {:fonticon => fonticon}
  end
end

Add single_quad definition for the Service model
Add single_quad definition for the Service model
