Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_button.html.haml « import_csv « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe89d2fb748d72299814d5443780c30e6804fcd9 (plain)
1
2
3
4
5
6
7
8
9
- 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
    = sprite_icon('import')
  - else
    = _('Import CSV')