summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/csv_export/_button.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/issuable/csv_export/_button.html.haml')
-rw-r--r--app/views/shared/issuable/csv_export/_button.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/issuable/csv_export/_button.html.haml b/app/views/shared/issuable/csv_export/_button.html.haml
new file mode 100644
index 00000000000..3584c9c1ed5
--- /dev/null
+++ b/app/views/shared/issuable/csv_export/_button.html.haml
@@ -0,0 +1,4 @@
+- if current_user
+ %button.csv_download_link.btn.gl-button.has-tooltip{ title: _('Export as CSV'),
+ data: { toggle: 'modal', target: ".#{issuable_type}-export-modal", qa_selector: 'export_as_csv_button' } }
+ = sprite_icon('export')