summaryrefslogtreecommitdiff
path: root/app/views/projects/_export.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_export.html.haml')
-rw-r--r--app/views/projects/_export.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_export.html.haml b/app/views/projects/_export.html.haml
index e42772c2dd9..f564ed41760 100644
--- a/app/views/projects/_export.html.haml
+++ b/app/views/projects/_export.html.haml
@@ -26,9 +26,9 @@
%p= _('Once the exported file is ready, you will receive a notification email with a download link, or you can download it from this page.')
- if project.export_status == :finished
= link_to _('Download export'), download_export_project_path(project),
- rel: 'nofollow', download: '', method: :get, class: "btn btn-default"
+ rel: 'nofollow', download: '', method: :get, class: "btn btn-default", data: { qa_selector: 'download_export_link' }
= link_to _('Generate new export'), generate_new_export_project_path(project),
method: :post, class: "btn btn-default"
- else
= link_to _('Export project'), export_project_path(project),
- method: :post, class: "btn btn-default"
+ method: :post, class: "btn btn-default", data: { qa_selector: 'export_project_link' }