Skip to content
Snippets Groups Projects
Commit 915299a5 authored by Andriy Dyadyura's avatar Andriy Dyadyura
Browse files

buttons update

parent 0d944af3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -274,8 +274,8 @@
 
.btn{
@include btn-gray;
@include btn-default;
}
 
.dropdown-toggle {
margin: -5px;
Loading
Loading
- unless @project.empty_repo?
- if can? current_user, :download_code, @project
= link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn has_tooltip', rel: 'nofollow', title: "Download ZIP" do
= link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn btn-nr has_tooltip', rel: 'nofollow', title: "Download ZIP" do
= icon('download')
- if current_user
%span.dropdown
%a.dropdown-new.btn.btn-new{href: '#', "data-toggle" => "dropdown"}
%a.dropdown-new.btn.btn-nr.btn-new{href: '#', "data-toggle" => "dropdown"}
= icon('plus')
%ul.dropdown-menu.dropdown-menu-right.project-home-dropdown
- if can?(current_user, :create_issue, @project)
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
 
.git-clone-holder
.btn-group.clone-options
%a#clone-dropdown.clone-dropdown-btn.btn{href: '#', 'data-toggle' => 'dropdown'}
%a#clone-dropdown.clone-dropdown-btn.btn-nr.btn{href: '#', 'data-toggle' => 'dropdown'}
%span
= default_clone_protocol.upcase
= icon('angle-down')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment