summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-06 15:51:10 +0100
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-06 15:51:10 +0100
commitfe19169836e1d7855d0ad5351b3f666dce8fcda1 (patch)
tree9b6a1946e3b9cf7a75b137c96eb2f9fb02d5d95b /app/views/projects/edit.html.haml
parent9b28220f8874c7ab342286e74f0b21895a2dd777 (diff)
downloadgitlab-ce-fe19169836e1d7855d0ad5351b3f666dce8fcda1.tar.gz
Use panel-default and .form-actions
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml24
1 files changed, 13 insertions, 11 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index ef758b5fb7a..31e752c6649 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -174,6 +174,19 @@
.danger-settings
+ .panel.panel-default
+ .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
+
+ .form-actions
+ = link_to 'Housekeeping', housekeeping_namespace_project_path(@project.namespace, @project),
+ method: :post, class: "btn btn-default"
+
- if can? current_user, :archive_project, @project
- if @project.archived?
.panel.panel-success
@@ -211,17 +224,6 @@
.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