Sha256: 523e8535a911738649986deca23f40654c7ea7f6da6846566dab9f3a3eee7235
Contents?: true
Size: 992 Bytes
Versions: 6
Compression:
Stored size: 992 Bytes
Contents
%tr{ id: "tr-#{resource_class}-#{printer.id}"} %td= link_to printer.name, printer %td= show_resource_delete_icon printer, '/admin/printers' - if parent? %td - if user.printers.include? printer = link_to detach_url( user,printer), class: 'attached green-text', title: t('detach_printers') do %i.material-icons layers - else = link_to attach_url( user,printer), class: 'detached red-text', title: t('attach_printers') do %i.material-icons layers_clear %td - if user.printers.preferred_printer.include? printer = link_to defer_url( user,printer), class: 'preferred green-text', ref: printer.paper, data: { id: printer.id }, title: t('defer_printers') do %i.preferred.material-icons.green-text bookmark - else = link_to prefer_url( user,printer), class: 'deferred grey-text', ref: printer.paper, data: { id: printer.id },title: t('prefer_printers') do %i.material-icons bookmark_border
Version data entries
6 entries across 6 versions & 1 rubygems