blob: 8442a53ed61e1aaa8cc786d01ec08a1218468cc6 (
plain)
1
2
3
4
5
6
7
8
9
|
- type = local_assigns.fetch(:type, :icon)
%button.csv-import-button.btn.btn-svg{ title: _('Import CSV'), class: ('has-tooltip' if type == :icon),
data: { toggle: 'modal', target: '.issues-import-modal' } }
- if type == :icon
= sprite_icon('upload')
- else
= _('Import CSV')
|