diff options
author | James Lopez <james@jameslopez.es> | 2016-06-14 12:47:07 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-14 12:47:07 +0200 |
commit | 3f7ed550110daaec8a76af7146b701dfc0210e60 (patch) | |
tree | 25fa93f0c306f8ea2ab9b28f26dfb11bb7551184 /app/views/projects/edit.html.haml | |
parent | 1ea44ee75077d67f3f24a288cc44d7c275ba8581 (diff) | |
download | gitlab-ce-3f7ed550110daaec8a76af7146b701dfc0210e60.tar.gz |
lots of refactoring to reuse import service
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r-- | app/views/projects/edit.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 8449fe1e4e0..9a832eceaf5 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -120,6 +120,19 @@ = link_to 'Housekeeping', housekeeping_namespace_project_path(@project.namespace, @project), method: :post, class: "btn btn-save" %hr + .row.prepend-top-default + .col-lg-3 + %h4.prepend-top-0 + Export project + %p.append-bottom-0 + %p + 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), + method: :post, class: "btn btn-default" + + %hr - if can? current_user, :archive_project, @project .row.prepend-top-default .col-lg-3 |