36f68140d1
Also remove now-unused tab_class helper
10 lines
528 B
Text
10 lines
528 B
Text
%ul.nav.nav-tabs
|
|
%li
|
|
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
|
|
= nav_link(controller: :refs) do
|
|
= link_to 'Source', project_tree_path(@project, @ref)
|
|
%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"
|