diff --git a/app/views/projects/_aside.html.haml b/app/views/projects/_aside.html.haml index 8044906dbf4dd90f0a51d23b2657229638886cf6..5edec7fe65c39a3fb9c16b5c789521b33e78ed04 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