Sha256: 345d66ce9e9f57b8f1a209e0c55615f740e49decbc6e6192b15699b8e618c318
Contents?: true
Size: 977 Bytes
Versions: 42
Compression:
Stored size: 977 Bytes
Contents
- if component.exportable? - if component.exporters.length == 1 - exporter = component.exporters.first = link_to component.path(namespace: :exports, exporter: exporter.name, q: params[:q].try(:permit!)), class: 'btn btn-default btn-shadow', method: :post, remote: true, data: { :'job-tracker-button' => true, :'refresh-on-close' => false } do %i.fa.fa-download.fa-fw = exporter.model_name.human - else .btn-group.dropdown %button.btn.btn-default.btn-shadow{ type: 'button', data: { toggle: 'dropdown' } } %i.fa.fa-download.fa-fw = t('para.export.name') %i.fa.fa-angle-down %ul.dropdown-menu - component.exporters.each do |exporter| %li = link_to component.path(namespace: :exports, exporter: exporter.name, q: params[:q].try(:permit!)), method: :post, remote: true, data: { :'job-tracker-button' => true, :'refresh-on-close' => false } do = exporter.model_name.human
Version data entries
42 entries across 42 versions & 1 rubygems