Commit 9fcbaf17 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '#231200-projects/issues/export_csv' into 'master'

Apply GitLab UI button styles to buttons in app/views/projects/issues/export_csv directory

See merge request gitlab-org/gitlab!44106
parents 815c642c 5ad7586b
- if current_user - if current_user
%button.csv_download_link.btn.has-tooltip{ title: _('Export as CSV'), %button.csv_download_link.btn.gl-button.has-tooltip{ title: _('Export as CSV'),
data: { toggle: 'modal', target: '.issues-export-modal', qa_selector: 'export_as_csv_button' } } data: { toggle: 'modal', target: '.issues-export-modal', qa_selector: 'export_as_csv_button' } }
= sprite_icon('export') = sprite_icon('export')
...@@ -18,4 +18,4 @@ ...@@ -18,4 +18,4 @@
.modal-text .modal-text
= html_escape(_('The CSV export will be created in the background. Once finished, it will be sent to %{strong_open}%{email}%{strong_close} in an attachment.')) % { email: @current_user.notification_email, strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe } = html_escape(_('The CSV export will be created in the background. Once finished, it will be sent to %{strong_open}%{email}%{strong_close} in an attachment.')) % { email: @current_user.notification_email, strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe }
.modal-footer .modal-footer
= link_to _('Export issues'), export_csv_project_issues_path(@project, request.query_parameters), method: :post, class: 'btn btn-success float-left', title: _('Export issues'), data: { track_label: "export_issues_csv", track_event: "click_button", track_value: "", qa_selector: "export_issues_button" } = link_to _('Export issues'), export_csv_project_issues_path(@project, request.query_parameters), method: :post, class: 'btn gl-button btn-success float-left', title: _('Export issues'), data: { track_label: "export_issues_csv", track_event: "click_button", track_value: "", qa_selector: "export_issues_button" }
---
title: Apply gl-button class to projects/issues/export_csv directory
merge_request: 44106
author: Lakshit
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment