2019-02-15 15:39:39 +05:30
|
|
|
- type = local_assigns.fetch(:type, :icon)
|
|
|
|
|
|
|
|
%button.csv-import-button.btn{ title: _('Import CSV'), class: ('has-tooltip' if type == :icon),
|
|
|
|
data: { toggle: 'modal', target: '.issues-import-modal' } }
|
|
|
|
- if type == :icon
|
2019-12-21 20:55:43 +05:30
|
|
|
= sprite_icon('import')
|
2019-02-15 15:39:39 +05:30
|
|
|
- else
|
|
|
|
= _('Import CSV')
|
|
|
|
|