2012-09-17 16:57:13 +02:00
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li
|
2012-09-17 19:07:17 +02:00
|
|
|
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: @path}
|
2012-09-17 18:39:57 +02:00
|
|
|
%li{class: "#{'active' if (controller.controller_name == "tree") }"}
|
|
|
|
= link_to project_tree_path(@project, @ref) do
|
2012-09-17 16:57:13 +02:00
|
|
|
Source
|
|
|
|
%li.right
|
|
|
|
.input-prepend.project_clone_holder
|
|
|
|
%button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
|
|
|
|
%button{class: "btn small", :"data-clone" => @project.http_url_to_repo} HTTP
|
|
|
|
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
|