Commit a5ce66d8 authored by Douwe Maan's avatar Douwe Maan

Move clone panel to bottom of project sidebar.

parent bfe23847
...@@ -83,9 +83,7 @@ ...@@ -83,9 +83,7 @@
= icon("tags fw") = icon("tags fw")
= pluralize(number_with_delimiter(@repository.tag_names.count), 'tag') = pluralize(number_with_delimiter(@repository.tag_names.count), 'tag')
= render "shared/clone_panel" .actions
.actions.prepend-top-10
= link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-sm append-right-10' do = link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-sm append-right-10' do
%i.fa.fa-exchange %i.fa.fa-exchange
Compare code Compare code
...@@ -93,6 +91,8 @@ ...@@ -93,6 +91,8 @@
- if can?(current_user, :download_code, @project) - if can?(current_user, :download_code, @project)
= render 'projects/repositories/download_archive', split_button: true, btn_class: 'btn-group-sm' = render 'projects/repositories/download_archive', split_button: true, btn_class: 'btn-group-sm'
= render "shared/clone_panel"
- if @project.archived? - if @project.archived?
.alert.alert-warning .alert.alert-warning
%h4 %h4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment