summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2015-10-21 15:15:54 +0200
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2015-10-21 15:15:54 +0200
commit4f0a38f1a833cab8c83e77a6c5d323057883188d (patch)
tree35d539461f4c8f11a48872d9b625e5b0aa9c11ae /app/views/projects/edit.html.haml
parent323b6eb19630ddfd73e98e39cd91758df615be71 (diff)
downloadgitlab-ce-4f0a38f1a833cab8c83e77a6c5d323057883188d.tar.gz
Added housekeeping for git repositories
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index afbf88b5507..8e49299223c 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -142,6 +142,17 @@
.nothing-here-block Only the project owner can archive a project
.panel.panel-default.panel.panel-warning
+ .panel-heading Housekeeping
+ .errors-holder
+ .panel-body
+ %p
+ Runs a number of housekeeping tasks within the current repository,
+ such as compressing file revisions and removing unreachable objects.
+ %br
+ = link_to 'Housekeeping', housekeeping_namespace_project_path(@project.namespace, @project),
+ method: :post, class: "btn btn-warning"
+
+ .panel.panel-default.panel.panel-warning
.panel-heading Rename repository
.errors-holder
.panel-body