class DiskDecorator < MiqDecorator
  def fonticon
    case device_type
    when 'floppy'
      'fa fa-floppy-o'
    when 'cdrom'
      'ff ff-cdrom'
    else
      'fa fa-hdd-o'
    end
  end
end

Add decorator for the Disk model with fonticons for various disktypes
Add decorator for the Disk model with fonticons for various disktypes
