summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-03-29 12:26:36 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-03-29 18:03:47 -0500
commit20deca7c68bd28c7ef9644e18f5e96546f9f1b95 (patch)
treef4b309b0425e53822c68585260282852700f5db5 /app/views/notify
parentf7fefe82e5e6c72f15e2089816460d704c3ac783 (diff)
downloadgitlab-ce-20deca7c68bd28c7ef9644e18f5e96546f9f1b95.tar.gz
Add download attribute to download links
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/project_was_exported_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/project_was_exported_email.html.haml b/app/views/notify/project_was_exported_email.html.haml
index b28fea35ad5..76440926a2b 100644
--- a/app/views/notify/project_was_exported_email.html.haml
+++ b/app/views/notify/project_was_exported_email.html.haml
@@ -2,7 +2,7 @@
Project #{@project.name} was exported successfully.
%p
The project export can be downloaded from:
- = link_to download_export_namespace_project_url(@project.namespace, @project) do
+ = link_to download_export_namespace_project_url(@project.namespace, @project), rel: 'nofollow', download: '', do
= @project.name_with_namespace + " export"
%p
The download link will expire in 24 hours.