summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-14 14:28:30 +0200
committerJames Lopez <james@jameslopez.es>2016-06-14 14:28:30 +0200
commitfe370b1c396cb3c290fcdb1d716a79ffe5c29169 (patch)
tree7ce5ebbfab79c67d24ed5cddbe0d2f0fd6d97f16 /app/views/projects/edit.html.haml
parent3f7ed550110daaec8a76af7146b701dfc0210e60 (diff)
downloadgitlab-ce-fe370b1c396cb3c290fcdb1d716a79ffe5c29169.tar.gz
new export stuff and view
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 9a832eceaf5..2441e71a5d2 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -129,9 +129,27 @@
Generates a compressed export file of the project and sends a link to download the export.
.col-lg-9
- = link_to 'Generate new export', export_namespace_project_path(@project.namespace, @project),
+ = link_to 'Export project', export_namespace_project_path(@project.namespace, @project),
method: :post, class: "btn btn-default"
+ %p.append-bottom-0
+ %p
+ .row.prepend-top-default
+ Clicking on Export project, will produce a compressed file that will be sent as a link to your registered e-mail address.
+
+ .bs-callout.bs-callout-info
+ %p.append-bottom-0
+ %p
+ The following items will be exported:
+ %ul
+ %li Project and wiki repository
+ %li Project uploads
+ %li DB items, including configuration
+ %ul
+ - db_export_list.each do |export_relation|
+ %li
+ %code #{export_relation}
+
%hr
- if can? current_user, :archive_project, @project
.row.prepend-top-default