Use panel-default and .form-actions
This commit is contained in:
parent
9b28220f88
commit
fe19169836
|
@ -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
|
||||
|
@ -210,17 +223,6 @@
|
|||
- else
|
||||
.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
|
||||
|
|
Loading…
Reference in New Issue