```ruby
class ServiceTemplateDecorator < MiqDecorator
  def self.fonticon
    'fa fa-cube'
  end

  def fonticon
    atomic? ? super : 'fa fa-cubes'
  end

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

Add single_quad definition for the ServiceTemplate model
user
```ruby
class ServiceTemplateDecorator < MiqDecorator
  def self.fonticon
    'fa fa-cube'
  end

  def fonticon
    atomic? ? super : 'fa fa-cubes'
  end

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

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