debian-mirror-gitlab/app/views/projects/issues/import_csv/_button.html.haml

10 lines
283 B
Text
Raw Normal View History

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')