summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-12 10:28:56 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-12 10:28:56 +0200
commita5ce66d83637734f79bc61c7d1bf7c71e3d26afc (patch)
tree509d164b38f8efb0051eed66857c1ac50307e2fb
parentbfe23847977376e3b89d98f17e0b3fd0fa2ddd77 (diff)
downloadgitlab-ce-a5ce66d83637734f79bc61c7d1bf7c71e3d26afc.tar.gz
Move clone panel to bottom of project sidebar.
-rw-r--r--app/views/projects/_aside.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/_aside.html.haml b/app/views/projects/_aside.html.haml
index 8044906dbf4..5edec7fe65c 100644
--- a/app/views/projects/_aside.html.haml
+++ b/app/views/projects/_aside.html.haml
@@ -83,9 +83,7 @@
= icon("tags fw")
= pluralize(number_with_delimiter(@repository.tag_names.count), 'tag')
- = render "shared/clone_panel"
-
- .actions.prepend-top-10
+ .actions
= 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
Compare code
@@ -93,6 +91,8 @@
- if can?(current_user, :download_code, @project)
= render 'projects/repositories/download_archive', split_button: true, btn_class: 'btn-group-sm'
+ = render "shared/clone_panel"
+
- if @project.archived?
.alert.alert-warning
%h4