2012-05-17 18:11:45 +02:00
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li
|
2012-09-16 18:07:57 +02:00
|
|
|
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(controller: :refs) do
|
|
|
|
= link_to 'Source', project_tree_path(@project, @ref)
|
2012-09-03 21:30:14 +02:00
|
|
|
%li.right
|
|
|
|
.input-prepend.project_clone_holder
|
|
|
|
%button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
|
2012-10-02 09:54:33 +02:00
|
|
|
%button{class: "btn small", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.web_protocol.upcase
|
2012-09-03 21:30:14 +02:00
|
|
|
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
|