summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml33
1 files changed, 19 insertions, 14 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 2441e71a5d2..a6f982b1d79 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -126,30 +126,35 @@
Export project
%p.append-bottom-0
%p
- Generates a compressed export file of the project and sends a link to download the export.
+ Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.
+ %p
+ Once the exported file is ready, you will receive a notification email with a download link.
+
.col-lg-9
- = link_to 'Export project', export_namespace_project_path(@project.namespace, @project),
+ - if @project.export_project_path
+ = link_to 'Download export', download_export_namespace_project_path(@project.namespace, @project),
+ method: :get, class: "btn btn-default"
+ = link_to 'Delete export', remove_export_namespace_project_path(@project.namespace, @project),
+ method: :post, class: "btn btn-default"
+ - else
+ = 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 and wiki repositories
%li Project uploads
- %li DB items, including configuration
- %ul
- - db_export_list.each do |export_relation|
- %li
- %code #{export_relation}
-
+ %li Project configuration including web hooks and services
+ %li Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities
+ %p
+ The following items will NOT be exported:
+ %ul
+ %li Build traces and artifacts
+ %li LFS objects
%hr
- if can? current_user, :archive_project, @project
.row.prepend-top-default